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
- MatrixCamera.cs
- SerialPinChanges.cs
- WindowsAuthenticationEventArgs.cs
- EncodingTable.cs
- FontCacheUtil.cs
- ConnectionsZone.cs
- ListenerAdapterBase.cs
- EntityCodeGenerator.cs
- NullableLongAverageAggregationOperator.cs
- TextLineBreak.cs
- SchemaCompiler.cs
- OverflowException.cs
- Memoizer.cs
- FixedTextContainer.cs
- Win32SafeHandles.cs
- UpdateExpressionVisitor.cs
- SlipBehavior.cs
- RelatedView.cs
- xml.cs
- Pen.cs
- ResizeGrip.cs
- WindowsGrip.cs
- ClockController.cs
- IdnMapping.cs
- CharacterMetricsDictionary.cs
- DataGridRow.cs
- SafeNativeMethods.cs
- WindowsToolbarItemAsMenuItem.cs
- DataViewManagerListItemTypeDescriptor.cs
- OleDbConnection.cs
- AutoCompleteStringCollection.cs
- TextServicesCompartmentEventSink.cs
- ConstructorNeedsTagAttribute.cs
- VersionedStreamOwner.cs
- Size.cs
- HashCodeCombiner.cs
- ListViewTableRow.cs
- XmlSchemaAppInfo.cs
- EntityConnectionStringBuilder.cs
- BitmapSource.cs
- MultipleViewPatternIdentifiers.cs
- RegexStringValidator.cs
- SqlBuilder.cs
- ValidatorCollection.cs
- ObjectManager.cs
- ComponentDesigner.cs
- CodeExpressionStatement.cs
- QfeChecker.cs
- ProtectedConfigurationProviderCollection.cs
- ConnectionPoolManager.cs
- XPathAncestorQuery.cs
- PlacementWorkspace.cs
- DataTemplateKey.cs
- MexHttpBindingElement.cs
- ResXResourceSet.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- OleDbPermission.cs
- XsdBuilder.cs
- GlobalDataBindingHandler.cs
- HtmlAnchor.cs
- NullableBoolConverter.cs
- Emitter.cs
- DocobjHost.cs
- DataGridViewColumnCollection.cs
- QueryCacheKey.cs
- ComboBoxHelper.cs
- autovalidator.cs
- Timer.cs
- ResourceAssociationSetEnd.cs
- Command.cs
- TransformedBitmap.cs
- MultiSelectRootGridEntry.cs
- UnorderedHashRepartitionStream.cs
- MediaScriptCommandRoutedEventArgs.cs
- X509Extension.cs
- RuntimeComponentFilter.cs
- XPathScanner.cs
- SchemaInfo.cs
- SafeBitVector32.cs
- XamlBrushSerializer.cs
- Renderer.cs
- FrugalMap.cs
- XmlSchemaAll.cs
- ServicePointManager.cs
- PerformanceCounterLib.cs
- Bezier.cs
- NumericExpr.cs
- ListView.cs
- StaticExtensionConverter.cs
- _HeaderInfo.cs
- DataGridCommandEventArgs.cs
- SqlUtil.cs
- CommandID.cs
- EntityDataSourceViewSchema.cs
- TextCompositionEventArgs.cs
- VisualCollection.cs
- ObjectStateManagerMetadata.cs
- SourceElementsCollection.cs
- HtmlInputRadioButton.cs
- DynamicILGenerator.cs