Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / LinqDataSourceUpdateEventArgs.cs / 1 / LinqDataSourceUpdateEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] public class LinqDataSourceUpdateEventArgs : CancelEventArgs { private LinqDataSourceValidationException _exception; private bool _exceptionHandled; private object _originalObject; private object _newObject; [SuppressMessage("Microsoft.Naming", "CA1720:AvoidTypeNamesInParameters", Justification = "Names are consistent with those used in the ObjectDataSource classes")] public LinqDataSourceUpdateEventArgs(object originalObject, object newObject) { _originalObject = originalObject; _newObject = newObject; } public LinqDataSourceUpdateEventArgs(LinqDataSourceValidationException exception) { _exception = exception; } public LinqDataSourceValidationException Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object OriginalObject { get { return _originalObject; } } public object NewObject { get { return _newObject; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] public class LinqDataSourceUpdateEventArgs : CancelEventArgs { private LinqDataSourceValidationException _exception; private bool _exceptionHandled; private object _originalObject; private object _newObject; [SuppressMessage("Microsoft.Naming", "CA1720:AvoidTypeNamesInParameters", Justification = "Names are consistent with those used in the ObjectDataSource classes")] public LinqDataSourceUpdateEventArgs(object originalObject, object newObject) { _originalObject = originalObject; _newObject = newObject; } public LinqDataSourceUpdateEventArgs(LinqDataSourceValidationException exception) { _exception = exception; } public LinqDataSourceValidationException Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object OriginalObject { get { return _originalObject; } } 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
- ScopedKnownTypes.cs
- SimpleType.cs
- UnknownBitmapEncoder.cs
- LoadMessageLogger.cs
- DelayedRegex.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- PersistStreamTypeWrapper.cs
- TextServicesDisplayAttributePropertyRanges.cs
- SafeLibraryHandle.cs
- DesignOnlyAttribute.cs
- Deserializer.cs
- InputScopeConverter.cs
- ActiveXMessageFormatter.cs
- safePerfProviderHandle.cs
- SerialPort.cs
- HttpCachePolicyWrapper.cs
- RepeatInfo.cs
- RequestBringIntoViewEventArgs.cs
- OleStrCAMarshaler.cs
- HtmlTableCellCollection.cs
- OutputCacheProfileCollection.cs
- SHA1.cs
- ResolveRequestResponseAsyncResult.cs
- DataProtectionSecurityStateEncoder.cs
- DataSourceProvider.cs
- ButtonField.cs
- HtmlInputText.cs
- TypeElement.cs
- HMACMD5.cs
- LinqDataSourceDeleteEventArgs.cs
- MimePart.cs
- RepeatButton.cs
- EdmTypeAttribute.cs
- ToolboxBitmapAttribute.cs
- BypassElementCollection.cs
- ToolboxItemAttribute.cs
- baseshape.cs
- DeflateStream.cs
- HitTestParameters.cs
- DocumentCollection.cs
- mediapermission.cs
- webbrowsersite.cs
- TaskFactory.cs
- ObjectParameter.cs
- TransactionInterop.cs
- _RequestCacheProtocol.cs
- StringExpressionSet.cs
- XmlSchemaNotation.cs
- ChameleonKey.cs
- TcpSocketManager.cs
- SelectionEditingBehavior.cs
- XamlToRtfWriter.cs
- IndentTextWriter.cs
- DirectoryInfo.cs
- EpmSourcePathSegment.cs
- TaskExceptionHolder.cs
- Assert.cs
- ObjectFullSpanRewriter.cs
- CommandExpr.cs
- InvokeAction.cs
- SchemaImporter.cs
- NetworkStream.cs
- DependencyObject.cs
- TextEditorParagraphs.cs
- OpenTypeCommon.cs
- DynamicObjectAccessor.cs
- DBConcurrencyException.cs
- ConsoleEntryPoint.cs
- RectAnimation.cs
- GlyphElement.cs
- X509Certificate2.cs
- XmlSchemaAnnotated.cs
- ThicknessAnimation.cs
- Decorator.cs
- RegexGroup.cs
- ByteConverter.cs
- PeerObject.cs
- UInt32Converter.cs
- ImageListStreamer.cs
- Lease.cs
- TextServicesDisplayAttributePropertyRanges.cs
- PtsHost.cs
- ViewDesigner.cs
- TypeViewSchema.cs
- XmlTextEncoder.cs
- SelectionPatternIdentifiers.cs
- UrlAuthorizationModule.cs
- UserPreferenceChangingEventArgs.cs
- SelectionManager.cs
- RenderData.cs
- DataGridHeaderBorder.cs
- OrderPreservingSpoolingTask.cs
- StyleCollection.cs
- HttpInputStream.cs
- Help.cs
- DocumentXPathNavigator.cs
- ServicesUtilities.cs
- EncoderNLS.cs
- CopyOfAction.cs
- GZipUtils.cs