Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / LinqDataSourceInsertEventArgs.cs / 2 / 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
- ObjectManager.cs
- Typeface.cs
- RbTree.cs
- CmsInterop.cs
- CqlParserHelpers.cs
- MsdtcClusterUtils.cs
- BlobPersonalizationState.cs
- TreeNodeEventArgs.cs
- HttpPostedFileWrapper.cs
- NetworkInformationException.cs
- OdbcInfoMessageEvent.cs
- RichTextBoxAutomationPeer.cs
- brushes.cs
- Image.cs
- SqlUnionizer.cs
- OpenFileDialog.cs
- Cursors.cs
- VariableQuery.cs
- MLangCodePageEncoding.cs
- XmlChoiceIdentifierAttribute.cs
- AdPostCacheSubstitution.cs
- SqlXmlStorage.cs
- MouseDevice.cs
- HttpProtocolImporter.cs
- StateDesigner.Layouts.cs
- UnsafeNativeMethods.cs
- WaitHandleCannotBeOpenedException.cs
- Listbox.cs
- EmbeddedMailObject.cs
- GZipDecoder.cs
- SqlExpander.cs
- CookieParameter.cs
- GridViewHeaderRowPresenter.cs
- DefaultProxySection.cs
- XmlMembersMapping.cs
- UpdateManifestForBrowserApplication.cs
- StringBlob.cs
- X509AsymmetricSecurityKey.cs
- GenericEnumConverter.cs
- AnimationClock.cs
- GridViewPageEventArgs.cs
- CellParaClient.cs
- _ContextAwareResult.cs
- SynchronizingStream.cs
- CacheDependency.cs
- FaultContractInfo.cs
- URLString.cs
- BoolExpr.cs
- HttpModuleAction.cs
- XmlSchemaComplexContentRestriction.cs
- unsafeIndexingFilterStream.cs
- DataGridViewImageColumn.cs
- Context.cs
- ContextMenuStripGroupCollection.cs
- PublishLicense.cs
- OutputCacheProfileCollection.cs
- elementinformation.cs
- DatagridviewDisplayedBandsData.cs
- OdbcPermission.cs
- HeaderUtility.cs
- VersionedStreamOwner.cs
- EntityDataReader.cs
- UrlParameterWriter.cs
- ConfigurationStrings.cs
- SystemShuttingDownException.cs
- RowToParametersTransformer.cs
- CodeAccessPermission.cs
- SystemFonts.cs
- MetadataSet.cs
- ObsoleteAttribute.cs
- SchemaHelper.cs
- InvalidCastException.cs
- ControlParser.cs
- MobileCapabilities.cs
- AsyncStreamReader.cs
- TextDecoration.cs
- XslCompiledTransform.cs
- ObjectDataSourceEventArgs.cs
- XmlSchemaChoice.cs
- QueryException.cs
- HebrewNumber.cs
- EmptyEnumerable.cs
- FixedDocumentPaginator.cs
- XmlCustomFormatter.cs
- RenderTargetBitmap.cs
- DataGridViewSelectedColumnCollection.cs
- IOThreadScheduler.cs
- ScrollEvent.cs
- _DigestClient.cs
- SecurityPolicySection.cs
- BindingBase.cs
- CharAnimationBase.cs
- UrlAuthFailureHandler.cs
- ClassicBorderDecorator.cs
- FrameworkReadOnlyPropertyMetadata.cs
- OracleSqlParser.cs
- PageContentAsyncResult.cs
- DataListItemEventArgs.cs
- RtfControls.cs
- LinqDataSourceContextData.cs