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
- DbProviderFactories.cs
- RoutingExtension.cs
- Baml2006SchemaContext.cs
- TableRowGroupCollection.cs
- PageSettings.cs
- XPathAxisIterator.cs
- ExpressionQuoter.cs
- StickyNoteHelper.cs
- PassportAuthentication.cs
- IriParsingElement.cs
- DynamicRenderer.cs
- CacheChildrenQuery.cs
- StateDesigner.LayoutSelectionGlyph.cs
- BinaryUtilClasses.cs
- InternalSafeNativeMethods.cs
- TextDecorationCollectionConverter.cs
- SafeBitVector32.cs
- ProfileSettings.cs
- SoapCodeExporter.cs
- DependencyPropertyChangedEventArgs.cs
- QueryPageSettingsEventArgs.cs
- KnownTypeAttribute.cs
- ZipIOBlockManager.cs
- ColorMap.cs
- Propagator.cs
- ExtendedPropertyCollection.cs
- GrammarBuilderRuleRef.cs
- DbDataSourceEnumerator.cs
- XmlWrappingReader.cs
- CookieProtection.cs
- WebBrowserSiteBase.cs
- ProjectedSlot.cs
- DataGridCell.cs
- GenericsInstances.cs
- SQLDecimal.cs
- UnhandledExceptionEventArgs.cs
- xmlformatgeneratorstatics.cs
- MarkupCompilePass1.cs
- SpotLight.cs
- FunctionQuery.cs
- DateTimeOffset.cs
- Console.cs
- CryptoApi.cs
- SBCSCodePageEncoding.cs
- SymbolType.cs
- MouseActionValueSerializer.cs
- WebPartTransformerCollection.cs
- StylusPlugInCollection.cs
- AddInIpcChannel.cs
- RowVisual.cs
- Debug.cs
- DynamicMetaObject.cs
- ClientType.cs
- DataServiceRequest.cs
- SqlServer2KCompatibilityAnnotation.cs
- SamlConditions.cs
- AsmxEndpointPickerExtension.cs
- TypeExtensionConverter.cs
- PropertyEmitterBase.cs
- _NetRes.cs
- StringFunctions.cs
- DataGridViewCellFormattingEventArgs.cs
- SimpleBitVector32.cs
- HiddenField.cs
- CapabilitiesState.cs
- ServiceModelActivity.cs
- SortedSetDebugView.cs
- SQLInt64Storage.cs
- TextRangeBase.cs
- XslAst.cs
- FormViewDeleteEventArgs.cs
- MenuItemStyleCollection.cs
- SqlDataSourceAdvancedOptionsForm.cs
- SQLDateTimeStorage.cs
- DropShadowEffect.cs
- TileModeValidation.cs
- DefaultExpression.cs
- X509ThumbprintKeyIdentifierClause.cs
- ChannelSinkStacks.cs
- AppearanceEditorPart.cs
- ToolStripStatusLabel.cs
- Constraint.cs
- SmiContext.cs
- XmlAttributeOverrides.cs
- Hashtable.cs
- QuadraticBezierSegment.cs
- XmlBinaryWriterSession.cs
- COM2Enum.cs
- AxisAngleRotation3D.cs
- Rule.cs
- SingleAnimationBase.cs
- ScrollData.cs
- ObjectViewListener.cs
- SignedPkcs7.cs
- RelationshipEnd.cs
- ProxyHwnd.cs
- TrustManagerPromptUI.cs
- XPathChildIterator.cs
- PageAdapter.cs
- DocumentApplication.cs