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
- COM2ColorConverter.cs
- KeyedHashAlgorithm.cs
- ObjectFullSpanRewriter.cs
- ScriptServiceAttribute.cs
- RegexWriter.cs
- EntityViewContainer.cs
- FilterQuery.cs
- KnownColorTable.cs
- EventLogEntryCollection.cs
- PackageDocument.cs
- CustomLineCap.cs
- OutputCacheProfileCollection.cs
- XmlAtomicValue.cs
- StickyNoteAnnotations.cs
- GlyphRunDrawing.cs
- IIS7UserPrincipal.cs
- XmlSchemaImporter.cs
- WebPartCloseVerb.cs
- HtmlContainerControl.cs
- XmlSchemaExporter.cs
- ISCIIEncoding.cs
- CroppedBitmap.cs
- SubqueryTrackingVisitor.cs
- ClrPerspective.cs
- XmlSerializationGeneratedCode.cs
- WebPartMinimizeVerb.cs
- DiscreteKeyFrames.cs
- SecurityException.cs
- HashLookup.cs
- HasCopySemanticsAttribute.cs
- PartDesigner.cs
- _LocalDataStoreMgr.cs
- FormParameter.cs
- SoapWriter.cs
- RenderData.cs
- CompilationUtil.cs
- StoreConnection.cs
- WindowsFormsLinkLabel.cs
- CheckBoxBaseAdapter.cs
- HorizontalAlignConverter.cs
- DataGridViewLinkColumn.cs
- SqlDataAdapter.cs
- AppDomainAttributes.cs
- EventMetadata.cs
- StylusPointDescription.cs
- ValuePattern.cs
- LostFocusEventManager.cs
- FigureHelper.cs
- XmlnsDictionary.cs
- DocumentViewer.cs
- DataGridViewElement.cs
- FillErrorEventArgs.cs
- XmlSerializableServices.cs
- ThicknessAnimation.cs
- TextPatternIdentifiers.cs
- WebAdminConfigurationHelper.cs
- ArgumentNullException.cs
- TextModifier.cs
- DataPointer.cs
- ControllableStoryboardAction.cs
- ScriptServiceAttribute.cs
- UriExt.cs
- SafeFindHandle.cs
- DrawingContextDrawingContextWalker.cs
- SystemIPv4InterfaceProperties.cs
- AnnotationAdorner.cs
- IListConverters.cs
- IisNotInstalledException.cs
- BamlLocalizableResourceKey.cs
- Binding.cs
- querybuilder.cs
- DPCustomTypeDescriptor.cs
- NamespaceMapping.cs
- ServerProtocol.cs
- WindowsTab.cs
- SqlSupersetValidator.cs
- DataGridView.cs
- MexBindingBindingCollectionElement.cs
- EditCommandColumn.cs
- ProfilePropertyNameValidator.cs
- PointCollection.cs
- ToolStripItemTextRenderEventArgs.cs
- TraceContextEventArgs.cs
- PackageRelationship.cs
- DeviceContext2.cs
- StringValidator.cs
- DllNotFoundException.cs
- KeyFrames.cs
- MsmqDecodeHelper.cs
- ThicknessKeyFrameCollection.cs
- ToolStrip.cs
- WebBrowserPermission.cs
- wgx_commands.cs
- SerializableTypeCodeDomSerializer.cs
- HighlightComponent.cs
- HttpCacheParams.cs
- InputLanguage.cs
- WebHttpBinding.cs
- StickyNoteHelper.cs
- FormsIdentity.cs