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
- XmlSchemaSimpleTypeList.cs
- ManifestBasedResourceGroveler.cs
- PatternMatcher.cs
- COAUTHINFO.cs
- AssemblyAttributes.cs
- PixelShader.cs
- PnrpPermission.cs
- SessionStateUtil.cs
- bindurihelper.cs
- Paragraph.cs
- ValueType.cs
- ConditionalDesigner.cs
- MaterialCollection.cs
- InputManager.cs
- NativeDirectoryServicesQueryAPIs.cs
- MappedMetaModel.cs
- SchemaCollectionPreprocessor.cs
- TextFragmentEngine.cs
- AdCreatedEventArgs.cs
- GraphicsState.cs
- ArgumentException.cs
- ItemAutomationPeer.cs
- PerformanceCounter.cs
- MenuCommand.cs
- SamlEvidence.cs
- GeometryDrawing.cs
- base64Transforms.cs
- WorkItem.cs
- TableCell.cs
- VectorAnimation.cs
- Helpers.cs
- SyndicationElementExtensionCollection.cs
- SHA1CryptoServiceProvider.cs
- UnsafeNativeMethodsCLR.cs
- SecurityKeyIdentifier.cs
- AutomationElementIdentifiers.cs
- Preprocessor.cs
- BinaryObjectInfo.cs
- GeometryHitTestResult.cs
- ParserHooks.cs
- StatusBarAutomationPeer.cs
- Sql8ConformanceChecker.cs
- ScriptServiceAttribute.cs
- BindingCollectionElement.cs
- ExpressionsCollectionEditor.cs
- TemplateBamlTreeBuilder.cs
- InstanceStore.cs
- TdsParserHelperClasses.cs
- NegationPusher.cs
- UnmanagedMemoryStreamWrapper.cs
- ForwardPositionQuery.cs
- RequestQueryParser.cs
- SmtpFailedRecipientException.cs
- ClonableStack.cs
- EventArgs.cs
- DeferredSelectedIndexReference.cs
- streamingZipPartStream.cs
- XmlBoundElement.cs
- RowToParametersTransformer.cs
- XmlSchemaAny.cs
- TypedTableBaseExtensions.cs
- StickyNoteHelper.cs
- DataBoundControl.cs
- BookmarkList.cs
- LinkedResource.cs
- Config.cs
- AmbientLight.cs
- RootContext.cs
- CanonicalFontFamilyReference.cs
- JsonFormatWriterGenerator.cs
- SrgsDocumentParser.cs
- InvalidComObjectException.cs
- BoolExpressionVisitors.cs
- RSACryptoServiceProvider.cs
- OdbcConnectionHandle.cs
- HtmlInputText.cs
- DataGridViewCellCollection.cs
- CompModSwitches.cs
- IPipelineRuntime.cs
- ObjectQueryExecutionPlan.cs
- SoapReflectionImporter.cs
- SafeNativeMethodsOther.cs
- AnimationLayer.cs
- _LocalDataStoreMgr.cs
- RequestStatusBarUpdateEventArgs.cs
- CompilerCollection.cs
- Converter.cs
- CompModSwitches.cs
- FormsAuthenticationCredentials.cs
- LightweightCodeGenerator.cs
- PrePrepareMethodAttribute.cs
- UpdatePanel.cs
- RequestTimeoutManager.cs
- SelectionPattern.cs
- TypedRowGenerator.cs
- SafeTokenHandle.cs
- SqlBinder.cs
- ScrollChrome.cs
- SystemSounds.cs
- MissingFieldException.cs