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 / LinqDataSourceInsertEventArgs.cs / 1 / LinqDataSourceInsertEventArgs.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 LinqDataSourceInsertEventArgs : CancelEventArgs { private LinqDataSourceValidationException _exception; private bool _exceptionHandled; private object _newObject; [SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "object", Justification = "Names are consistent with those used in the ObjectDataSource classes")] public LinqDataSourceInsertEventArgs(object newObject) { _newObject = newObject; } public LinqDataSourceInsertEventArgs(LinqDataSourceValidationException exception) { _exception = exception; } public LinqDataSourceValidationException Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object NewObject { get { return _newObject; } } } } // 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 LinqDataSourceInsertEventArgs : CancelEventArgs { private LinqDataSourceValidationException _exception; private bool _exceptionHandled; private object _newObject; [SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "object", Justification = "Names are consistent with those used in the ObjectDataSource classes")] public LinqDataSourceInsertEventArgs(object newObject) { _newObject = newObject; } public LinqDataSourceInsertEventArgs(LinqDataSourceValidationException exception) { _exception = exception; } public LinqDataSourceValidationException Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object NewObject { get { return _newObject; } } } } // 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
- GB18030Encoding.cs
- FilterElement.cs
- GuidelineCollection.cs
- AssemblyNameProxy.cs
- CustomErrorCollection.cs
- Transform.cs
- XPathException.cs
- SqlDataSourceStatusEventArgs.cs
- ToolStripCodeDomSerializer.cs
- RuntimeConfigurationRecord.cs
- ListViewHitTestInfo.cs
- BuiltInExpr.cs
- SspiHelper.cs
- Exception.cs
- ComAdminWrapper.cs
- CollectionEditor.cs
- TemplateBindingExpression.cs
- DataContext.cs
- XmlDocument.cs
- OleServicesContext.cs
- Pen.cs
- NavigationHelper.cs
- SelectionProcessor.cs
- UInt16.cs
- Stream.cs
- SmtpClient.cs
- InputReport.cs
- XmlImplementation.cs
- PageStatePersister.cs
- DocumentSequenceHighlightLayer.cs
- DataGridTable.cs
- GeneralTransform3D.cs
- AttributeData.cs
- BuildProviderCollection.cs
- Attachment.cs
- ConstraintManager.cs
- PublisherMembershipCondition.cs
- HandlerWithFactory.cs
- SID.cs
- EmptyQuery.cs
- TransformProviderWrapper.cs
- RegistryKey.cs
- CompilerWrapper.cs
- LocatorPart.cs
- CompiledQueryCacheEntry.cs
- FileRecordSequenceCompletedAsyncResult.cs
- FixedHyperLink.cs
- AncillaryOps.cs
- ClientSettingsProvider.cs
- CreateUserWizardStep.cs
- URLString.cs
- TypeGeneratedEventArgs.cs
- XmlArrayItemAttribute.cs
- SmiContextFactory.cs
- MessageLogTraceRecord.cs
- ViewPort3D.cs
- SystemIPInterfaceStatistics.cs
- VerticalAlignConverter.cs
- TypeConstant.cs
- ForEachDesigner.xaml.cs
- EdmMember.cs
- EllipseGeometry.cs
- SmiGettersStream.cs
- ConsumerConnectionPoint.cs
- ImageBrush.cs
- KeyInterop.cs
- _SecureChannel.cs
- UdpRetransmissionSettings.cs
- CaseStatement.cs
- RotateTransform.cs
- LoadRetryConstantStrategy.cs
- ZoneIdentityPermission.cs
- BidPrivateBase.cs
- OperatorExpressions.cs
- ContractMapping.cs
- BasePattern.cs
- CharacterShapingProperties.cs
- ServerValidateEventArgs.cs
- LogWriteRestartAreaState.cs
- CancellationHandler.cs
- Page.cs
- SchemaTableColumn.cs
- TextSelectionProcessor.cs
- WebPartDescription.cs
- AdjustableArrowCap.cs
- GenericsInstances.cs
- XmlNodeChangedEventArgs.cs
- DbDataAdapter.cs
- ValidatingReaderNodeData.cs
- CapacityStreamGeometryContext.cs
- Stack.cs
- Point.cs
- SplineKeyFrames.cs
- ServiceBehaviorAttribute.cs
- VectorCollection.cs
- DataGridTable.cs
- LogicalExpr.cs
- ExceptionDetail.cs
- XmlDataContract.cs
- QilValidationVisitor.cs