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
- EditorBrowsableAttribute.cs
- StylusEditingBehavior.cs
- CurrentChangingEventArgs.cs
- CurrencyWrapper.cs
- TTSVoice.cs
- XmlWrappingWriter.cs
- DerivedKeySecurityToken.cs
- CodeVariableDeclarationStatement.cs
- TextElementEnumerator.cs
- Int16.cs
- DirectionalLight.cs
- ComboBoxAutomationPeer.cs
- DataGridViewCellValidatingEventArgs.cs
- ItemContainerProviderWrapper.cs
- AutoResetEvent.cs
- DataGridAddNewRow.cs
- TaskCanceledException.cs
- WebBrowserBase.cs
- OdbcConnectionString.cs
- SubMenuStyleCollection.cs
- WindowsStreamSecurityUpgradeProvider.cs
- SQLInt32.cs
- BufferedOutputStream.cs
- WebServiceHostFactory.cs
- ReachUIElementCollectionSerializerAsync.cs
- NumericPagerField.cs
- QueryCursorEventArgs.cs
- DiscreteKeyFrames.cs
- StorageAssociationSetMapping.cs
- SqlDataSourceRefreshSchemaForm.cs
- RemoteWebConfigurationHostStream.cs
- SyncMethodInvoker.cs
- IfAction.cs
- TemplateBuilder.cs
- ButtonField.cs
- ReflectTypeDescriptionProvider.cs
- XmlReaderSettings.cs
- InternalConfigRoot.cs
- ValidatorCollection.cs
- smtpconnection.cs
- DataGridViewCellCollection.cs
- _ListenerAsyncResult.cs
- CqlErrorHelper.cs
- SQLGuid.cs
- OleDbInfoMessageEvent.cs
- DrawingGroup.cs
- PagedDataSource.cs
- ErrorWrapper.cs
- MetadataItemSerializer.cs
- TokenBasedSetEnumerator.cs
- AstTree.cs
- WebServiceHostFactory.cs
- RequestQueryProcessor.cs
- InheritanceService.cs
- XmlCharacterData.cs
- Compiler.cs
- ThreadAbortException.cs
- PriorityChain.cs
- SessionIDManager.cs
- XmlSchemaComplexContentRestriction.cs
- PointAnimationUsingPath.cs
- DynamicDocumentPaginator.cs
- DataBoundControlHelper.cs
- TimeSpan.cs
- FillRuleValidation.cs
- EntityDataSourceWrapperCollection.cs
- StrokeNodeOperations2.cs
- ResourcesBuildProvider.cs
- DoubleAnimationUsingKeyFrames.cs
- ElementsClipboardData.cs
- ExpressionConverter.cs
- HttpDictionary.cs
- CacheSection.cs
- BackStopAuthenticationModule.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- _AutoWebProxyScriptHelper.cs
- SQLCharsStorage.cs
- XmlSerializationReader.cs
- ObjectDataSourceChooseTypePanel.cs
- EmptyStringExpandableObjectConverter.cs
- ProxyRpc.cs
- XmlSchemaInfo.cs
- SmiRequestExecutor.cs
- DelegateSerializationHolder.cs
- EncodingDataItem.cs
- Tag.cs
- WebBaseEventKeyComparer.cs
- MediaContext.cs
- MailAddressCollection.cs
- FixedSOMElement.cs
- SelfIssuedAuthAsymmetricKey.cs
- CollectionChangedEventManager.cs
- PageTheme.cs
- Compiler.cs
- XmlSchemas.cs
- FontUnitConverter.cs
- HtmlShimManager.cs
- ObjectListSelectEventArgs.cs
- BindingExpressionUncommonField.cs
- SoapWriter.cs