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
- MailAddressParser.cs
- AnonymousIdentificationSection.cs
- FormCollection.cs
- EventRouteFactory.cs
- DropSource.cs
- DtdParser.cs
- XmlArrayAttribute.cs
- ResourceExpressionEditor.cs
- IconBitmapDecoder.cs
- SiteMap.cs
- SessionParameter.cs
- shaperfactoryquerycacheentry.cs
- HwndStylusInputProvider.cs
- TableLayout.cs
- Avt.cs
- AssemblyAssociatedContentFileAttribute.cs
- ConfigurationManagerHelper.cs
- XmlHelper.cs
- ProfilePropertyNameValidator.cs
- VSWCFServiceContractGenerator.cs
- Track.cs
- UniformGrid.cs
- ChangePassword.cs
- HyperLinkStyle.cs
- CompilerResults.cs
- EndpointDiscoveryMetadata.cs
- NameSpaceEvent.cs
- RsaSecurityTokenParameters.cs
- WarningException.cs
- Dictionary.cs
- _ShellExpression.cs
- DataServiceRequestException.cs
- SqlParameterCollection.cs
- cryptoapiTransform.cs
- LayoutEvent.cs
- WindowsIdentity.cs
- CustomDictionarySources.cs
- Random.cs
- TypeResolver.cs
- ListItemConverter.cs
- Char.cs
- COM2IDispatchConverter.cs
- LoadMessageLogger.cs
- ContainsSearchOperator.cs
- State.cs
- ExtractorMetadata.cs
- Geometry.cs
- EntityContainer.cs
- SpecularMaterial.cs
- SoapReflectionImporter.cs
- DocumentScope.cs
- CookieParameter.cs
- XhtmlBasicListAdapter.cs
- StopStoryboard.cs
- BatchWriter.cs
- CircleHotSpot.cs
- HtmlEmptyTagControlBuilder.cs
- ImportContext.cs
- Pens.cs
- FileInfo.cs
- DataControlFieldCell.cs
- StatementContext.cs
- TimeSpanStorage.cs
- CollectionBuilder.cs
- SID.cs
- NetCodeGroup.cs
- CaseInsensitiveHashCodeProvider.cs
- BidOverLoads.cs
- DataExpression.cs
- RefreshEventArgs.cs
- LinkedResourceCollection.cs
- MarshalByValueComponent.cs
- TrackingProfile.cs
- externdll.cs
- StreamingContext.cs
- ConfigurationPropertyAttribute.cs
- StackOverflowException.cs
- CancelEventArgs.cs
- PipelineModuleStepContainer.cs
- XamlRtfConverter.cs
- BamlLocalizer.cs
- GeneralTransform3DTo2D.cs
- MimeImporter.cs
- MetadataCache.cs
- EnumConverter.cs
- WindowsFormsHelpers.cs
- DbProviderFactory.cs
- EntityCommandDefinition.cs
- DispatcherHooks.cs
- SchemaImporterExtension.cs
- basenumberconverter.cs
- AssemblyName.cs
- RoleManagerModule.cs
- CatalogPart.cs
- SchemaDeclBase.cs
- SimpleWorkerRequest.cs
- SymbolDocumentGenerator.cs
- RectangleGeometry.cs
- OAVariantLib.cs
- SmiXetterAccessMap.cs