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
- MdiWindowListItemConverter.cs
- XmlSchemaAttributeGroup.cs
- ObjectSecurity.cs
- Query.cs
- ObjectConverter.cs
- DllHostInitializer.cs
- CompiledXpathExpr.cs
- ToolStripOverflow.cs
- AncestorChangedEventArgs.cs
- DurableRuntimeValidator.cs
- ToolStripDropDownClosedEventArgs.cs
- Logging.cs
- Int64Animation.cs
- InstanceLockTracking.cs
- Tag.cs
- CssClassPropertyAttribute.cs
- GacUtil.cs
- RegistryDataKey.cs
- SmtpCommands.cs
- PersonalizationProviderHelper.cs
- WpfWebRequestHelper.cs
- TablePatternIdentifiers.cs
- XmlImplementation.cs
- ReadOnlyDictionary.cs
- TypeViewSchema.cs
- ObjectHelper.cs
- iisPickupDirectory.cs
- XPathSingletonIterator.cs
- ContainsRowNumberChecker.cs
- SafeProcessHandle.cs
- IItemProperties.cs
- ResXResourceSet.cs
- LocalizationComments.cs
- ClonableStack.cs
- ConnectorSelectionGlyph.cs
- SqlClientMetaDataCollectionNames.cs
- OdbcConnectionStringbuilder.cs
- UInt64Storage.cs
- PathData.cs
- WebServiceMethodData.cs
- SpeechSynthesizer.cs
- PlatformCulture.cs
- ToolStripControlHost.cs
- ConnectionManagementElementCollection.cs
- NativeObjectSecurity.cs
- InputLanguageEventArgs.cs
- FlowLayoutSettings.cs
- WarningException.cs
- ColorContextHelper.cs
- FixedDSBuilder.cs
- CurrentChangingEventManager.cs
- GenericQueueSurrogate.cs
- TextAnchor.cs
- SqlErrorCollection.cs
- PrintingPermission.cs
- _SslSessionsCache.cs
- CompositeControl.cs
- DataSourceViewSchemaConverter.cs
- AnimationClockResource.cs
- HttpWrapper.cs
- HtmlToClrEventProxy.cs
- DataExpression.cs
- ConstructorBuilder.cs
- SqlConnectionPoolProviderInfo.cs
- BulletChrome.cs
- MaxSessionCountExceededException.cs
- DispatcherExceptionEventArgs.cs
- SystemColors.cs
- SoapIgnoreAttribute.cs
- SectionVisual.cs
- TableRow.cs
- SelectedDatesCollection.cs
- XmlSchemaRedefine.cs
- ConstNode.cs
- ParserContext.cs
- FeatureAttribute.cs
- login.cs
- WebServiceEndpoint.cs
- HashRepartitionEnumerator.cs
- ToolStripOverflowButton.cs
- ComponentEditorForm.cs
- IPEndPointCollection.cs
- XmlArrayAttribute.cs
- StickyNoteHelper.cs
- CatalogPart.cs
- UIServiceHelper.cs
- IdentifierCreationService.cs
- SQlBooleanStorage.cs
- ResetableIterator.cs
- XmlEncodedRawTextWriter.cs
- DataSourceControl.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- ReadOnlyCollection.cs
- DataObjectPastingEventArgs.cs
- GeometryHitTestResult.cs
- Frame.cs
- BaseDataList.cs
- ListViewGroupConverter.cs
- XamlTypeMapper.cs
- ArraySortHelper.cs