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
- WebException.cs
- WebBrowsableAttribute.cs
- SystemIPv6InterfaceProperties.cs
- ChangeConflicts.cs
- DeflateStream.cs
- SQLByte.cs
- ScrollPattern.cs
- TransactionBridgeSection.cs
- BitmapEditor.cs
- CodeAttributeArgument.cs
- DropSource.cs
- CellTreeNodeVisitors.cs
- ComplexLine.cs
- Renderer.cs
- DbXmlEnabledProviderManifest.cs
- baseaxisquery.cs
- CompilerGeneratedAttribute.cs
- ReadOnlyActivityGlyph.cs
- BufferModesCollection.cs
- SerializableTypeCodeDomSerializer.cs
- PropertyMapper.cs
- ClientFormsAuthenticationCredentials.cs
- Vector3DAnimationBase.cs
- SmtpSection.cs
- NoResizeSelectionBorderGlyph.cs
- FreeFormPanel.cs
- SqlRemoveConstantOrderBy.cs
- SrgsDocumentParser.cs
- RSAPKCS1SignatureFormatter.cs
- WindowsComboBox.cs
- TextBox.cs
- FixedSOMPage.cs
- ADMembershipUser.cs
- WindowsFormsHost.cs
- ToolStripItemDataObject.cs
- RSAPKCS1KeyExchangeFormatter.cs
- SByteConverter.cs
- DataTransferEventArgs.cs
- Model3DGroup.cs
- WpfKnownMemberInvoker.cs
- ButtonBaseAdapter.cs
- AppSecurityManager.cs
- ClientBuildManager.cs
- Menu.cs
- HandledEventArgs.cs
- SchemaImporterExtensionsSection.cs
- Pkcs9Attribute.cs
- OpCodes.cs
- WebPartAuthorizationEventArgs.cs
- SiteMapHierarchicalDataSourceView.cs
- Viewport3DVisual.cs
- SettingsProperty.cs
- Sequence.cs
- SimpleMailWebEventProvider.cs
- XmlnsDictionary.cs
- XmlName.cs
- TrustManager.cs
- Fx.cs
- FusionWrap.cs
- EntityConnection.cs
- ISSmlParser.cs
- ObjectQuery.cs
- EditorZoneBase.cs
- UserNamePasswordClientCredential.cs
- DataGridViewHeaderCell.cs
- DialogResultConverter.cs
- IImplicitResourceProvider.cs
- CacheMemory.cs
- TransactionScopeDesigner.cs
- GenericPrincipal.cs
- CorePropertiesFilter.cs
- DbDataRecord.cs
- ObjectIDGenerator.cs
- ExtenderProvidedPropertyAttribute.cs
- FtpWebResponse.cs
- DoubleAnimationBase.cs
- TypedElement.cs
- HtmlForm.cs
- SecurityRuntime.cs
- WizardPanelChangingEventArgs.cs
- ScriptManager.cs
- ObjectItemCollection.cs
- BaseHashHelper.cs
- SignedInfo.cs
- CursorInteropHelper.cs
- IssuanceTokenProviderState.cs
- DebugHandleTracker.cs
- ViewService.cs
- IndexedDataBuffer.cs
- RemotingAttributes.cs
- AuthenticationService.cs
- DecimalConverter.cs
- HttpValueCollection.cs
- SystemInfo.cs
- XmlDataSource.cs
- ConditionalWeakTable.cs
- UpdatePanelTrigger.cs
- DoubleStorage.cs
- ParameterCollection.cs
- StorageConditionPropertyMapping.cs