Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / 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:AvoidTypeNamesInParameters", MessageId = "0#", 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventLogPermissionEntry.cs
- Latin1Encoding.cs
- DefaultMergeHelper.cs
- CharacterShapingProperties.cs
- PrtTicket_Editor.cs
- DetailsViewInsertEventArgs.cs
- RoutedPropertyChangedEventArgs.cs
- MetadataItemEmitter.cs
- StringToken.cs
- MouseEvent.cs
- Tablet.cs
- ValueQuery.cs
- MenuItem.cs
- WaveHeader.cs
- QilNode.cs
- GridViewCancelEditEventArgs.cs
- TemplateColumn.cs
- XmlUtf8RawTextWriter.cs
- EntityTemplateUserControl.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- CompensatableTransactionScopeActivity.cs
- KeyConverter.cs
- XmlDocument.cs
- SQLSingle.cs
- MissingMethodException.cs
- MgmtConfigurationRecord.cs
- StaticFileHandler.cs
- DriveNotFoundException.cs
- DivideByZeroException.cs
- TaskFormBase.cs
- IDReferencePropertyAttribute.cs
- BigInt.cs
- HttpFileCollection.cs
- Bits.cs
- ViewValidator.cs
- GridViewDeleteEventArgs.cs
- CustomAttribute.cs
- EditorAttribute.cs
- BindableAttribute.cs
- WindowsGraphicsCacheManager.cs
- Int32Rect.cs
- WebPartConnectionsConfigureVerb.cs
- RenderContext.cs
- RootNamespaceAttribute.cs
- AssemblyInfo.cs
- MouseEventArgs.cs
- NativeActivityAbortContext.cs
- FlowDecisionLabelFeature.cs
- DrawingImage.cs
- VariableDesigner.xaml.cs
- DesignBindingPropertyDescriptor.cs
- ActionFrame.cs
- DataGridViewHitTestInfo.cs
- Pen.cs
- ExtensibleClassFactory.cs
- PropertyGridCommands.cs
- SQLBytes.cs
- FixedSOMPage.cs
- DbCommandTree.cs
- SelectedPathEditor.cs
- SqlNodeAnnotations.cs
- AutoGeneratedField.cs
- ExpandoClass.cs
- WorkflowValidationFailedException.cs
- RadioButtonStandardAdapter.cs
- ListViewPagedDataSource.cs
- HttpRuntimeSection.cs
- Size.cs
- UnsafeNativeMethods.cs
- ProcessHostServerConfig.cs
- ToolBar.cs
- AddInController.cs
- AsyncDataRequest.cs
- TextTreeTextElementNode.cs
- Visitor.cs
- BaseCollection.cs
- CapabilitiesSection.cs
- SpecialFolderEnumConverter.cs
- TrackingServices.cs
- ProtocolInformationWriter.cs
- FormViewCommandEventArgs.cs
- IInstanceTable.cs
- TerminatorSinks.cs
- ElementProxy.cs
- ThreadStateException.cs
- TypeInfo.cs
- LoginName.cs
- UpdateRecord.cs
- CircleHotSpot.cs
- WebRequestModuleElementCollection.cs
- ModelPropertyImpl.cs
- StylusPointProperty.cs
- AutomationPatternInfo.cs
- CommandBindingCollection.cs
- CodeIndexerExpression.cs
- RadioButtonRenderer.cs
- FormParameter.cs
- ToolStripItemClickedEventArgs.cs
- TriggerCollection.cs
- TextComposition.cs