Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / WebControls / LinqDataSourceDeleteEventArgs.cs / 1305376 / LinqDataSourceDeleteEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- #if ORYX_VNEXT namespace Microsoft.Web.Data.UI.WebControls { #else namespace System.Web.UI.WebControls { #endif using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; 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. // //----------------------------------------------------------------------------- #if ORYX_VNEXT namespace Microsoft.Web.Data.UI.WebControls { #else namespace System.Web.UI.WebControls { #endif using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; 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
- ListSourceHelper.cs
- RemoteWebConfigurationHostStream.cs
- DataReaderContainer.cs
- SQLStringStorage.cs
- SqlDelegatedTransaction.cs
- InvalidateEvent.cs
- SmiSettersStream.cs
- CryptoProvider.cs
- X509InitiatorCertificateServiceElement.cs
- BaseValidator.cs
- IFlowDocumentViewer.cs
- ListViewSelectEventArgs.cs
- PTManager.cs
- DesignTimeSiteMapProvider.cs
- TextEditorContextMenu.cs
- TrackPoint.cs
- cache.cs
- httpapplicationstate.cs
- TypeSource.cs
- DataGridViewCellLinkedList.cs
- RenderDataDrawingContext.cs
- InputMethodStateChangeEventArgs.cs
- WizardForm.cs
- WindowsSpinner.cs
- LingerOption.cs
- XmlSchemaImporter.cs
- TextElementCollectionHelper.cs
- SubclassTypeValidator.cs
- PKCS1MaskGenerationMethod.cs
- ResolveResponse.cs
- SecurityContextSecurityTokenResolver.cs
- FixedSOMSemanticBox.cs
- IteratorFilter.cs
- LiteralLink.cs
- WorkflowApplicationUnloadedException.cs
- ListParaClient.cs
- HttpContextWrapper.cs
- PrinterResolution.cs
- DispatcherExceptionEventArgs.cs
- FileNotFoundException.cs
- ServiceOperationListItemList.cs
- X509SecurityToken.cs
- TypeConverterAttribute.cs
- FontEmbeddingManager.cs
- CodeArrayCreateExpression.cs
- FileLoadException.cs
- ActivityDesignerResources.cs
- ComponentEditorForm.cs
- XmlSerializerFactory.cs
- EdmSchemaError.cs
- TokenBasedSet.cs
- TrackBar.cs
- TypeContext.cs
- MergeFailedEvent.cs
- Switch.cs
- Scripts.cs
- SoapFormatExtensions.cs
- CryptoKeySecurity.cs
- HtmlShim.cs
- WebServiceMethodData.cs
- Schema.cs
- OutputCacheSettingsSection.cs
- Splitter.cs
- SchemaNamespaceManager.cs
- _ChunkParse.cs
- TypeBuilder.cs
- X509CertificateTokenFactoryCredential.cs
- Empty.cs
- CodeEntryPointMethod.cs
- EdmComplexTypeAttribute.cs
- FixedDocumentSequencePaginator.cs
- AttachedAnnotation.cs
- CompositeFontInfo.cs
- InputBinder.cs
- AdornedElementPlaceholder.cs
- XsdValidatingReader.cs
- EnumType.cs
- SamlConditions.cs
- DescendantBaseQuery.cs
- FolderBrowserDialog.cs
- mactripleDES.cs
- ProtectedConfigurationProviderCollection.cs
- ColorAnimationUsingKeyFrames.cs
- Token.cs
- ScriptControlDescriptor.cs
- ChannelBinding.cs
- SqlDataSourceView.cs
- DocumentOutline.cs
- SafeNativeMemoryHandle.cs
- RegistryConfigurationProvider.cs
- HtmlTableCellCollection.cs
- HtmlControl.cs
- ToolStripContainer.cs
- diagnosticsswitches.cs
- EdmSchemaError.cs
- EntityKeyElement.cs
- AssociationSetEnd.cs
- DataBinder.cs
- InvalidProgramException.cs
- ViewStateModeByIdAttribute.cs