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
- StorageEntitySetMapping.cs
- CancellationTokenRegistration.cs
- CombinedGeometry.cs
- SimpleBitVector32.cs
- PersonalizableAttribute.cs
- Matrix3DConverter.cs
- OptionalColumn.cs
- GeometryCollection.cs
- ProviderConnectionPoint.cs
- SqlDataReaderSmi.cs
- BitmapEditor.cs
- BoundColumn.cs
- DateTimeStorage.cs
- Debugger.cs
- ResourceDescriptionAttribute.cs
- ScriptingWebServicesSectionGroup.cs
- DataGridViewCellConverter.cs
- SqlErrorCollection.cs
- ZipIOLocalFileDataDescriptor.cs
- ConnectionPointGlyph.cs
- ProgramPublisher.cs
- ZipIORawDataFileBlock.cs
- ContainerUIElement3D.cs
- querybuilder.cs
- PageParserFilter.cs
- latinshape.cs
- PathFigureCollection.cs
- IndexedString.cs
- ColorContext.cs
- SourceLocationProvider.cs
- EdmSchemaAttribute.cs
- RequestCachingSection.cs
- WebBrowserEvent.cs
- DefaultValueConverter.cs
- BinaryFormatter.cs
- AppSettingsSection.cs
- Column.cs
- DataGridColumnHeaderAutomationPeer.cs
- StatusBar.cs
- CellIdBoolean.cs
- MenuItemStyle.cs
- Polygon.cs
- NavigatorOutput.cs
- FormViewModeEventArgs.cs
- SchemaAttDef.cs
- SizeChangedInfo.cs
- SynchronizationLockException.cs
- SignedXml.cs
- DocumentOrderComparer.cs
- ZoneLinkButton.cs
- SecurityKeyUsage.cs
- SchemaCollectionCompiler.cs
- TextProperties.cs
- XhtmlTextWriter.cs
- CodeDelegateCreateExpression.cs
- MediaPlayerState.cs
- DataColumnChangeEvent.cs
- ResourceKey.cs
- QuestionEventArgs.cs
- MatrixKeyFrameCollection.cs
- Transform.cs
- WmlControlAdapter.cs
- XmlSyndicationContent.cs
- SmtpException.cs
- CursorConverter.cs
- Cloud.cs
- SqlConnectionFactory.cs
- ReadOnlyState.cs
- SoapFault.cs
- SspiSecurityTokenProvider.cs
- DocumentSequence.cs
- XXXInfos.cs
- followingsibling.cs
- RectangleF.cs
- Hashtable.cs
- AuthorizationRuleCollection.cs
- OperationInfoBase.cs
- Comparer.cs
- FacetDescriptionElement.cs
- ConditionalWeakTable.cs
- DataGridViewRowCollection.cs
- XmlSchemaDatatype.cs
- XmlSerializableWriter.cs
- ConfigurationErrorsException.cs
- StateMachine.cs
- Style.cs
- CallContext.cs
- TextEffect.cs
- SslStream.cs
- IgnoreSection.cs
- WrapPanel.cs
- InvokeProviderWrapper.cs
- DBSqlParserColumnCollection.cs
- PagerSettings.cs
- DefaultExpressionVisitor.cs
- SqlHelper.cs
- FrameworkElementFactoryMarkupObject.cs
- SynchronizedInputProviderWrapper.cs
- AlternateView.cs
- StateMachine.cs