Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / WebControls / LinqDataSourceInsertEventArgs.cs / 1305376 / LinqDataSourceInsertEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- #if ORYX_VNEXT namespace Microsoft.Web.Data.UI.WebControls { #else namespace System.Web.UI.WebControls { #endif using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; public class LinqDataSourceInsertEventArgs : CancelEventArgs { private LinqDataSourceValidationException _exception; private bool _exceptionHandled; private object _newObject; [SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "object", Justification = "Names are consistent with those used in the ObjectDataSource classes")] public LinqDataSourceInsertEventArgs(object newObject) { _newObject = newObject; } public LinqDataSourceInsertEventArgs(LinqDataSourceValidationException exception) { _exception = exception; } public LinqDataSourceValidationException Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object NewObject { get { return _newObject; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- #if ORYX_VNEXT namespace Microsoft.Web.Data.UI.WebControls { #else namespace System.Web.UI.WebControls { #endif using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; public class LinqDataSourceInsertEventArgs : CancelEventArgs { private LinqDataSourceValidationException _exception; private bool _exceptionHandled; private object _newObject; [SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "object", Justification = "Names are consistent with those used in the ObjectDataSource classes")] public LinqDataSourceInsertEventArgs(object newObject) { _newObject = newObject; } public LinqDataSourceInsertEventArgs(LinqDataSourceValidationException exception) { _exception = exception; } public LinqDataSourceValidationException Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object NewObject { get { return _newObject; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TypedDataSourceCodeGenerator.cs
- ModelTreeEnumerator.cs
- InputReportEventArgs.cs
- DataSourceXmlClassAttribute.cs
- FilterUserControlBase.cs
- SourceLocationProvider.cs
- BevelBitmapEffect.cs
- UpdatePanel.cs
- TreeNodeBinding.cs
- arc.cs
- ConnectionManagementSection.cs
- OutputCacheSettingsSection.cs
- UdpDiscoveryEndpointProvider.cs
- __ConsoleStream.cs
- SchemaNotation.cs
- NavigationHelper.cs
- BitmapSourceSafeMILHandle.cs
- ConfigXmlSignificantWhitespace.cs
- XmlNotation.cs
- ParseHttpDate.cs
- TreeView.cs
- DerivedKeySecurityToken.cs
- SafeThemeHandle.cs
- SoapProtocolImporter.cs
- CodeLabeledStatement.cs
- LoginDesigner.cs
- RichTextBoxDesigner.cs
- SystemNetHelpers.cs
- BitmapEffect.cs
- WindowsListViewItemCheckBox.cs
- ToggleProviderWrapper.cs
- PassportAuthenticationEventArgs.cs
- VectorCollectionValueSerializer.cs
- BitmapFrameEncode.cs
- LogicalTreeHelper.cs
- arc.cs
- DbConnectionPoolCounters.cs
- TreeNodeBindingCollection.cs
- NotificationContext.cs
- XmlTextReader.cs
- InputReferenceExpression.cs
- DictionaryChange.cs
- EditorAttribute.cs
- ActivityCodeGenerator.cs
- NameValuePermission.cs
- WebPartMenuStyle.cs
- BrowserCapabilitiesFactoryBase.cs
- LinearGradientBrush.cs
- ObjectSerializerFactory.cs
- exports.cs
- ReadOnlyObservableCollection.cs
- BooleanConverter.cs
- IntPtr.cs
- Journal.cs
- RoutedEventHandlerInfo.cs
- SrgsDocumentParser.cs
- DrawingVisualDrawingContext.cs
- EllipseGeometry.cs
- DependencyPropertyAttribute.cs
- Vector3DAnimationBase.cs
- TreeNodeStyleCollectionEditor.cs
- TransactionProxy.cs
- Transform3D.cs
- StringFreezingAttribute.cs
- TrackingMemoryStream.cs
- HScrollBar.cs
- PopupEventArgs.cs
- BamlLocalizableResourceKey.cs
- WinEventTracker.cs
- COAUTHINFO.cs
- ISAPIRuntime.cs
- ToolStripItemClickedEventArgs.cs
- LocationSectionRecord.cs
- WebEncodingValidatorAttribute.cs
- EventHandlersStore.cs
- RemotingAttributes.cs
- FactoryGenerator.cs
- ObjectFullSpanRewriter.cs
- SendOperation.cs
- TraceHandlerErrorFormatter.cs
- OpenFileDialog.cs
- BrowserCapabilitiesCodeGenerator.cs
- KnownTypesHelper.cs
- EntitySetBase.cs
- ObjectQueryProvider.cs
- Geometry3D.cs
- ClientTarget.cs
- XamlBrushSerializer.cs
- ServerValidateEventArgs.cs
- DataGridViewColumnCollection.cs
- SemanticResolver.cs
- BitmapCacheBrush.cs
- Operators.cs
- BindStream.cs
- Rect.cs
- SHA512CryptoServiceProvider.cs
- DataGridViewRowEventArgs.cs
- ConnectionPoint.cs
- TracedNativeMethods.cs
- AuthenticatedStream.cs