Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / LinqDataSourceDeleteEventArgs.cs / 1 / LinqDataSourceDeleteEventArgs.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 LinqDataSourceDeleteEventArgs : CancelEventArgs { private LinqDataSourceValidationException _exception; private bool _exceptionHandled; private object _originalObject; [SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "object", Justification = "Names are consistent with those used in the ObjectDataSource classes")] public LinqDataSourceDeleteEventArgs(object originalObject) { _originalObject = originalObject; } public LinqDataSourceDeleteEventArgs(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; } } } } // 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 LinqDataSourceDeleteEventArgs : CancelEventArgs { private LinqDataSourceValidationException _exception; private bool _exceptionHandled; private object _originalObject; [SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "object", Justification = "Names are consistent with those used in the ObjectDataSource classes")] public LinqDataSourceDeleteEventArgs(object originalObject) { _originalObject = originalObject; } public LinqDataSourceDeleteEventArgs(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; } } } } // 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
- ZoneIdentityPermission.cs
- GACMembershipCondition.cs
- NumberEdit.cs
- DataSourceCache.cs
- PasswordRecoveryAutoFormat.cs
- AccessDataSource.cs
- TreeViewBindingsEditorForm.cs
- LocalValueEnumerator.cs
- BrowserDefinition.cs
- ScriptServiceAttribute.cs
- IsolatedStoragePermission.cs
- WebPartMenu.cs
- TextTreeRootTextBlock.cs
- ConfigurationSchemaErrors.cs
- EntityDataSource.cs
- RecognizerStateChangedEventArgs.cs
- MethodToken.cs
- UnsafeNativeMethods.cs
- DoubleAnimationUsingKeyFrames.cs
- PeerEndPoint.cs
- RegexCompiler.cs
- Decoder.cs
- XmlSchemaSimpleContent.cs
- ConfigXmlAttribute.cs
- XmlElementAttributes.cs
- XmlnsCompatibleWithAttribute.cs
- NativeMethods.cs
- SiteMap.cs
- SingleKeyFrameCollection.cs
- UnicastIPAddressInformationCollection.cs
- RepeatButtonAutomationPeer.cs
- MultipleViewProviderWrapper.cs
- OAVariantLib.cs
- WindowsPrincipal.cs
- PersonalizationAdministration.cs
- input.cs
- CodeIterationStatement.cs
- AssertSection.cs
- WeakEventTable.cs
- XmlSerializationReader.cs
- MenuRendererClassic.cs
- Byte.cs
- ByteRangeDownloader.cs
- SafeSystemMetrics.cs
- ConcatQueryOperator.cs
- TimeSpanParse.cs
- ConfigXmlSignificantWhitespace.cs
- Block.cs
- TemplateBuilder.cs
- CustomTypeDescriptor.cs
- ResourceDisplayNameAttribute.cs
- BooleanAnimationUsingKeyFrames.cs
- ImageList.cs
- XmlSchemaParticle.cs
- TreeNodeBinding.cs
- WebPartManager.cs
- DnsPermission.cs
- BlurEffect.cs
- RequestDescription.cs
- AsynchronousChannelMergeEnumerator.cs
- AggregationMinMaxHelpers.cs
- OptimizedTemplateContent.cs
- HiddenFieldPageStatePersister.cs
- PolicyVersionConverter.cs
- ZipPackagePart.cs
- DataSourceCollectionBase.cs
- BitStream.cs
- DataGridCell.cs
- TargetException.cs
- ContextMenu.cs
- ItemCheckEvent.cs
- MediaPlayerState.cs
- UnsupportedPolicyOptionsException.cs
- safemediahandle.cs
- _HeaderInfoTable.cs
- TextAnchor.cs
- XmlExceptionHelper.cs
- FixedSOMGroup.cs
- ItemContainerProviderWrapper.cs
- MembershipValidatePasswordEventArgs.cs
- ToolStripItemCollection.cs
- NativeMethods.cs
- CountdownEvent.cs
- OdbcConnectionFactory.cs
- StructuredTypeEmitter.cs
- CachedFontFamily.cs
- InteropEnvironment.cs
- CustomError.cs
- FontResourceCache.cs
- WebPartZoneCollection.cs
- TypeUnloadedException.cs
- DependencyProperty.cs
- BinaryConverter.cs
- Condition.cs
- Thumb.cs
- EmptyEnumerator.cs
- StrongNameMembershipCondition.cs
- CellQuery.cs
- DataViewSettingCollection.cs
- SHA384.cs