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
- EventListener.cs
- ViewBase.cs
- WorkflowDesignerColors.cs
- DocumentsTrace.cs
- ConfigXmlAttribute.cs
- PackagePartCollection.cs
- XmlSignificantWhitespace.cs
- MdiWindowListItemConverter.cs
- X509ChainElement.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- Variant.cs
- LinqDataView.cs
- ButtonBase.cs
- MenuItemCollection.cs
- log.cs
- SplitterEvent.cs
- AxisAngleRotation3D.cs
- PinProtectionHelper.cs
- UTF32Encoding.cs
- MaskedTextProvider.cs
- ParseChildrenAsPropertiesAttribute.cs
- MatrixAnimationBase.cs
- ProjectionCamera.cs
- DeviceFilterDictionary.cs
- RectAnimationBase.cs
- XmlSchemaChoice.cs
- XmlQueryOutput.cs
- LogFlushAsyncResult.cs
- ProviderConnectionPointCollection.cs
- StaticContext.cs
- StringTraceRecord.cs
- SchemaNotation.cs
- MouseGestureValueSerializer.cs
- EventLogEntryCollection.cs
- AdRotator.cs
- InvalidTimeZoneException.cs
- ByteAnimationUsingKeyFrames.cs
- DefaultMemberAttribute.cs
- AssociationType.cs
- QilExpression.cs
- PatternMatcher.cs
- CheckBoxFlatAdapter.cs
- WindowsGraphicsCacheManager.cs
- ProcessActivityTreeOptions.cs
- PersistNameAttribute.cs
- Models.cs
- UniqueSet.cs
- ErrorEventArgs.cs
- SQLGuid.cs
- CreateUserErrorEventArgs.cs
- CircleHotSpot.cs
- ControlCollection.cs
- SchemaImporterExtensionElementCollection.cs
- Config.cs
- SafeProcessHandle.cs
- ListViewGroupConverter.cs
- DmlSqlGenerator.cs
- PersonalizationStateInfo.cs
- milrender.cs
- CheckBox.cs
- DeploymentSectionCache.cs
- ComboBoxRenderer.cs
- WebServiceErrorEvent.cs
- GridViewRowEventArgs.cs
- TypeForwardedFromAttribute.cs
- DataStreams.cs
- ObjectList.cs
- GraphicsPath.cs
- Classification.cs
- ScriptResourceAttribute.cs
- TimelineGroup.cs
- BamlTreeMap.cs
- XmlSchemaNotation.cs
- iisPickupDirectory.cs
- Matrix.cs
- ObjectAnimationUsingKeyFrames.cs
- Expander.cs
- TimeSpanConverter.cs
- MediaTimeline.cs
- DiscoveryClientDocuments.cs
- WorkItem.cs
- WebPartMenuStyle.cs
- X509Certificate2Collection.cs
- Size3D.cs
- DesignerSerializationVisibilityAttribute.cs
- WebWorkflowRole.cs
- FixedPageStructure.cs
- TextElementCollectionHelper.cs
- IFlowDocumentViewer.cs
- DataGridViewToolTip.cs
- invalidudtexception.cs
- ExtenderProviderService.cs
- GeometryHitTestResult.cs
- WebPartCatalogCloseVerb.cs
- ProofTokenCryptoHandle.cs
- FormsAuthenticationModule.cs
- GeneralTransformCollection.cs
- LicFileLicenseProvider.cs
- HttpCookie.cs
- XPathSingletonIterator.cs