Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- VScrollBar.cs
- OutputScopeManager.cs
- InvokePatternIdentifiers.cs
- PrimarySelectionAdorner.cs
- DefinitionUpdate.cs
- DbModificationClause.cs
- MatrixValueSerializer.cs
- InputGestureCollection.cs
- ITreeGenerator.cs
- FixedSOMTableCell.cs
- QueryResults.cs
- ValueTypeFixupInfo.cs
- UInt16.cs
- TimeStampChecker.cs
- TagMapCollection.cs
- RestHandler.cs
- XmlAnyAttributeAttribute.cs
- PriorityChain.cs
- SchemaEntity.cs
- PerformanceCounterPermissionEntry.cs
- SecurityContext.cs
- AnnotationAuthorChangedEventArgs.cs
- HtmlEncodedRawTextWriter.cs
- RuleRef.cs
- OleDbCommandBuilder.cs
- ExpressionBinding.cs
- DefaultMemberAttribute.cs
- _LocalDataStoreMgr.cs
- SpellerInterop.cs
- ThemeableAttribute.cs
- Duration.cs
- DelegateBodyWriter.cs
- DiscoveryEndpoint.cs
- _NestedMultipleAsyncResult.cs
- ConstantSlot.cs
- Internal.cs
- AppearanceEditorPart.cs
- CodeMethodReturnStatement.cs
- PolicyException.cs
- DynamicPropertyReader.cs
- MenuStrip.cs
- DatagridviewDisplayedBandsData.cs
- MatrixUtil.cs
- FloaterBaseParagraph.cs
- CompilationSection.cs
- ApplicationSecurityManager.cs
- SamlDelegatingWriter.cs
- QilTargetType.cs
- TransformedBitmap.cs
- SmiEventSink_Default.cs
- TagPrefixInfo.cs
- XmlSchemaObjectTable.cs
- ComIntegrationManifestGenerator.cs
- RegisteredDisposeScript.cs
- ExpressionBindings.cs
- DataGridViewRowStateChangedEventArgs.cs
- Model3D.cs
- CommonGetThemePartSize.cs
- ToolboxItemFilterAttribute.cs
- XmlUtil.cs
- X509KeyIdentifierClauseType.cs
- ColorTranslator.cs
- CheckBoxField.cs
- ImageDrawing.cs
- SiteOfOriginPart.cs
- XmlSchemaImporter.cs
- Point4D.cs
- DataTableReader.cs
- QueryAsyncResult.cs
- ValidatorCollection.cs
- DependencyObject.cs
- ParentQuery.cs
- ISAPIApplicationHost.cs
- XmlAttributeOverrides.cs
- CacheMemory.cs
- ArrayConverter.cs
- DispatcherProcessingDisabled.cs
- MessageRpc.cs
- DataGridViewComboBoxColumn.cs
- InternalsVisibleToAttribute.cs
- ProcessHost.cs
- DomainLiteralReader.cs
- SqlNodeTypeOperators.cs
- hwndwrapper.cs
- PeerNameRegistration.cs
- SqlParameterCollection.cs
- ExpressionParser.cs
- GenerateScriptTypeAttribute.cs
- PropertyToken.cs
- TreeWalker.cs
- PagesSection.cs
- BinaryFormatterWriter.cs
- ObjectPersistData.cs
- TrustManagerMoreInformation.cs
- RepeaterCommandEventArgs.cs
- CodeStatement.cs
- XmlnsDefinitionAttribute.cs
- ClientOperation.cs
- DataTableTypeConverter.cs
- ObjectHandle.cs