Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / LinqDataSourceDeleteEventArgs.cs / 2 / 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
- TagMapCollection.cs
- FrameAutomationPeer.cs
- SynchronizationContext.cs
- CompiledXpathExpr.cs
- DynamicILGenerator.cs
- ListSortDescriptionCollection.cs
- InkCanvasFeedbackAdorner.cs
- DirectoryRootQuery.cs
- VisualBasicSettings.cs
- XmlLangPropertyAttribute.cs
- StatementContext.cs
- QuaternionAnimationUsingKeyFrames.cs
- PreApplicationStartMethodAttribute.cs
- Propagator.Evaluator.cs
- BufferedStream.cs
- ThreadNeutralSemaphore.cs
- WindowsIdentity.cs
- ToolboxComponentsCreatedEventArgs.cs
- KeyFrames.cs
- TextSelectionHelper.cs
- PerSessionInstanceContextProvider.cs
- XmlWrappingReader.cs
- WorkflowServiceBuildProvider.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- RouteItem.cs
- MessageTraceRecord.cs
- StickyNote.cs
- BoundsDrawingContextWalker.cs
- SchemaConstraints.cs
- TextRangeEditLists.cs
- HtmlInputCheckBox.cs
- WasAdminWrapper.cs
- ResourcesBuildProvider.cs
- IOThreadTimer.cs
- HistoryEventArgs.cs
- NumericUpDownAcceleration.cs
- Addressing.cs
- EventSource.cs
- CodeTypeReferenceExpression.cs
- ObjectStateEntryDbDataRecord.cs
- MsmqReceiveParameters.cs
- TextTreeFixupNode.cs
- NetMsmqSecurityElement.cs
- DbMetaDataCollectionNames.cs
- SafeRightsManagementPubHandle.cs
- OpenTypeCommon.cs
- BoundPropertyEntry.cs
- AnnotationDocumentPaginator.cs
- CaseExpr.cs
- _BaseOverlappedAsyncResult.cs
- FormatterServices.cs
- SqlUtils.cs
- SplineKeyFrames.cs
- TypeConverter.cs
- InternalConfigHost.cs
- ClientEventManager.cs
- ConnectionManagementElement.cs
- MdiWindowListItemConverter.cs
- SHA256.cs
- ConnectionsZone.cs
- HatchBrush.cs
- Privilege.cs
- TemplatedControlDesigner.cs
- DefaultTextStoreTextComposition.cs
- SynchronizedKeyedCollection.cs
- XamlPathDataSerializer.cs
- DocumentXmlWriter.cs
- filewebresponse.cs
- regiisutil.cs
- RequestCacheValidator.cs
- InternalConfirm.cs
- DataTablePropertyDescriptor.cs
- LayoutEditorPart.cs
- MessageDescription.cs
- TextShapeableCharacters.cs
- ScrollProviderWrapper.cs
- SystemIcmpV6Statistics.cs
- StringBuilder.cs
- HttpApplicationFactory.cs
- MsmqOutputChannel.cs
- VisualBasicSettingsConverter.cs
- ButtonPopupAdapter.cs
- SessionMode.cs
- PersonalizationStateInfo.cs
- TrayIconDesigner.cs
- HttpChannelFactory.cs
- SerializationAttributes.cs
- ComponentResourceKeyConverter.cs
- DataSourceXmlSubItemAttribute.cs
- ExecutionPropertyManager.cs
- SendingRequestEventArgs.cs
- SwitchLevelAttribute.cs
- Label.cs
- Margins.cs
- EmptyControlCollection.cs
- CodeCatchClauseCollection.cs
- AnyAllSearchOperator.cs
- TableColumnCollectionInternal.cs
- wgx_render.cs
- basemetadatamappingvisitor.cs