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
- ComPlusThreadInitializer.cs
- CodeTypeReferenceExpression.cs
- ToolTip.cs
- HTMLTagNameToTypeMapper.cs
- DefaultMemberAttribute.cs
- DbConnectionPoolOptions.cs
- MergablePropertyAttribute.cs
- ObjRef.cs
- DBAsyncResult.cs
- UTF8Encoding.cs
- ValueQuery.cs
- DecimalConstantAttribute.cs
- IntegerFacetDescriptionElement.cs
- Set.cs
- PenThreadPool.cs
- Material.cs
- DataSourceControl.cs
- GuidelineCollection.cs
- Popup.cs
- XmlC14NWriter.cs
- EventWaitHandle.cs
- UpdatePanelTriggerCollection.cs
- PersonalizationDictionary.cs
- NullableLongAverageAggregationOperator.cs
- XmlNamespaceMapping.cs
- CodeTypeReferenceCollection.cs
- embossbitmapeffect.cs
- TransformFinalBlockRequest.cs
- OverrideMode.cs
- ItemsPanelTemplate.cs
- InputLanguageEventArgs.cs
- VirtualizingStackPanel.cs
- FacetEnabledSchemaElement.cs
- BuilderPropertyEntry.cs
- GroupLabel.cs
- MulticastDelegate.cs
- MatrixTransform.cs
- PropertyPath.cs
- FixedSOMPageConstructor.cs
- SqlParameter.cs
- SafeLocalMemHandle.cs
- TemplateComponentConnector.cs
- BaseParaClient.cs
- CodeMemberField.cs
- DateTimeFormat.cs
- ErrorInfoXmlDocument.cs
- DataGridViewColumnEventArgs.cs
- DBCommandBuilder.cs
- ComplexBindingPropertiesAttribute.cs
- TableLayoutPanelBehavior.cs
- Vars.cs
- Executor.cs
- SoapReflector.cs
- StreamWithDictionary.cs
- InputScopeNameConverter.cs
- HtmlHistory.cs
- ToolboxItemCollection.cs
- ColorTransform.cs
- MetafileEditor.cs
- HitTestParameters.cs
- ConfigurationManagerHelper.cs
- DecoderNLS.cs
- EntryPointNotFoundException.cs
- XmlDocumentFragment.cs
- FormsAuthenticationTicket.cs
- CapabilitiesPattern.cs
- KeysConverter.cs
- CheckBox.cs
- LineSegment.cs
- WindowsListView.cs
- StickyNoteHelper.cs
- _Semaphore.cs
- AdapterDictionary.cs
- CodeRemoveEventStatement.cs
- BinaryUtilClasses.cs
- AuthorizationPolicyTypeElement.cs
- SmiRequestExecutor.cs
- GPRECTF.cs
- PropertyReference.cs
- MatrixCamera.cs
- ReadOnlyTernaryTree.cs
- PropertyEmitterBase.cs
- XmlIncludeAttribute.cs
- DeferredTextReference.cs
- WorkflowElementDialog.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- MediaScriptCommandRoutedEventArgs.cs
- ManipulationLogic.cs
- KernelTypeValidation.cs
- TimeManager.cs
- MailAddressCollection.cs
- FixedDocumentPaginator.cs
- SqlDataSourceQueryEditor.cs
- dataSvcMapFileLoader.cs
- InputMethodStateChangeEventArgs.cs
- AlignmentXValidation.cs
- PersonalizationState.cs
- HttpPostedFile.cs
- OleDbParameterCollection.cs
- StateDesigner.Helpers.cs