Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- DownloadProgressEventArgs.cs
- SafeCryptHandles.cs
- _UriTypeConverter.cs
- PropertySegmentSerializationProvider.cs
- PackageController.cs
- WorkflowViewManager.cs
- CodeMethodInvokeExpression.cs
- ConstraintStruct.cs
- SQLBinaryStorage.cs
- BindingContext.cs
- StreamUpgradeInitiator.cs
- BinaryFormatter.cs
- XPathDocumentIterator.cs
- UInt64.cs
- CompareInfo.cs
- ResourceKey.cs
- SqlDelegatedTransaction.cs
- TypeToken.cs
- Visual3D.cs
- RadioButtonFlatAdapter.cs
- Matrix3DConverter.cs
- CodeGenerator.cs
- cookieexception.cs
- DataViewSettingCollection.cs
- OdbcParameterCollection.cs
- CompiledELinqQueryState.cs
- DataControlField.cs
- SR.Designer.cs
- InvokeWebServiceDesigner.cs
- ConfigViewGenerator.cs
- BlurEffect.cs
- AccessDataSourceView.cs
- InvalidateEvent.cs
- CodeAttributeDeclaration.cs
- AssemblyAssociatedContentFileAttribute.cs
- TreeNodeCollectionEditor.cs
- SpotLight.cs
- ServiceParser.cs
- CounterSetInstanceCounterDataSet.cs
- DragDeltaEventArgs.cs
- BindingRestrictions.cs
- Semaphore.cs
- FileUtil.cs
- ConfigXmlText.cs
- GatewayDefinition.cs
- WSHttpBinding.cs
- ScrollableControl.cs
- XPathNodeHelper.cs
- GregorianCalendarHelper.cs
- Material.cs
- ScriptResourceAttribute.cs
- XPathScanner.cs
- ApplicationManager.cs
- TextServicesHost.cs
- TimeoutValidationAttribute.cs
- OraclePermission.cs
- Trace.cs
- CompositeFontParser.cs
- RuntimeIdentifierPropertyAttribute.cs
- SupportsEventValidationAttribute.cs
- SqlGenerator.cs
- LineVisual.cs
- OdbcFactory.cs
- DefinitionUpdate.cs
- MarkupObject.cs
- DBCSCodePageEncoding.cs
- StreamingContext.cs
- BrowserDefinitionCollection.cs
- PocoEntityKeyStrategy.cs
- ClientFormsAuthenticationCredentials.cs
- SynchronizedMessageSource.cs
- MetabaseServerConfig.cs
- GPStream.cs
- PatternMatcher.cs
- DummyDataSource.cs
- ValidationErrorEventArgs.cs
- ToggleButtonAutomationPeer.cs
- ImageConverter.cs
- RectValueSerializer.cs
- TypeExtensionConverter.cs
- ExpandButtonVisibilityConverter.cs
- ContentPosition.cs
- MouseActionValueSerializer.cs
- WindowsUpDown.cs
- ProvidersHelper.cs
- XamlStream.cs
- CaseStatementSlot.cs
- ProviderConnectionPoint.cs
- TypeFieldSchema.cs
- ContextInformation.cs
- TextTreeText.cs
- OneWayBindingElement.cs
- RefreshEventArgs.cs
- ScopeElementCollection.cs
- Model3DGroup.cs
- NameValuePermission.cs
- TypeSemantics.cs
- CqlLexerHelpers.cs
- ImageFormatConverter.cs
- ActivityXRefPropertyEditor.cs