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
- FilterQueryOptionExpression.cs
- TypedReference.cs
- HttpListenerElement.cs
- objectquery_tresulttype.cs
- AutoGeneratedField.cs
- GridViewDeletedEventArgs.cs
- StoreContentChangedEventArgs.cs
- FormatSettings.cs
- QuaternionKeyFrameCollection.cs
- CheckBox.cs
- WinFormsSpinner.cs
- CompleteWizardStep.cs
- DoubleAverageAggregationOperator.cs
- StringAnimationUsingKeyFrames.cs
- DataGridCellItemAutomationPeer.cs
- RequestValidator.cs
- MessageDesigner.cs
- TouchDevice.cs
- TemplateParser.cs
- ToolboxDataAttribute.cs
- Dictionary.cs
- DivideByZeroException.cs
- AppDomainUnloadedException.cs
- SchemaExporter.cs
- DataGridViewLinkColumn.cs
- CustomLineCap.cs
- SecurityTokenRequirement.cs
- DataListItemCollection.cs
- Label.cs
- AssemblyResourceLoader.cs
- ScriptingScriptResourceHandlerSection.cs
- SerialReceived.cs
- DBAsyncResult.cs
- GenerateHelper.cs
- FormsAuthentication.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- RequiredArgumentAttribute.cs
- DSASignatureDeformatter.cs
- UserValidatedEventArgs.cs
- TimelineClockCollection.cs
- SQLMoney.cs
- MessageSmuggler.cs
- XmlSerializableReader.cs
- WeakReference.cs
- AuthenticationConfig.cs
- COAUTHIDENTITY.cs
- Win32SafeHandles.cs
- SendMailErrorEventArgs.cs
- FilteredAttributeCollection.cs
- _ChunkParse.cs
- SignedInfo.cs
- TextRangeEdit.cs
- Version.cs
- ResolveInfo.cs
- ConfigXmlCDataSection.cs
- counter.cs
- AggregationMinMaxHelpers.cs
- Error.cs
- ServiceContractListItem.cs
- TextElement.cs
- SchemaTableColumn.cs
- DataSysAttribute.cs
- VirtualPathProvider.cs
- EmptyReadOnlyDictionaryInternal.cs
- SHA1Cng.cs
- HMACSHA384.cs
- CodeChecksumPragma.cs
- InputGestureCollection.cs
- ClientRuntimeConfig.cs
- MailDefinition.cs
- ConnectionStringsSection.cs
- ManipulationStartingEventArgs.cs
- SendContent.cs
- ObjectRef.cs
- AutoResetEvent.cs
- FormViewCommandEventArgs.cs
- TraceHandler.cs
- ComplexPropertyEntry.cs
- Border.cs
- UInt64.cs
- PackagingUtilities.cs
- ScopedKnownTypes.cs
- ValueExpressions.cs
- XmlSerializableWriter.cs
- Soap.cs
- ValidatorCompatibilityHelper.cs
- AtomMaterializerLog.cs
- DynamicILGenerator.cs
- ReferencedType.cs
- WizardPanelChangingEventArgs.cs
- WindowsFormsEditorServiceHelper.cs
- SimpleTypeResolver.cs
- InstanceOwnerException.cs
- MailAddress.cs
- InstanceDescriptor.cs
- FreezableOperations.cs
- DataGridViewSortCompareEventArgs.cs
- CommonGetThemePartSize.cs
- DelegatedStream.cs
- TreeNodeMouseHoverEvent.cs