Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebControls / ObjectDataSourceDisposingEventArgs.cs / 1 / ObjectDataSourceDisposingEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.ComponentModel; using System.Security.Permissions; ////// Represents data that is passed into an ObjectDataSourceDisposingEventHandler delegate. /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ObjectDataSourceDisposingEventArgs : CancelEventArgs { private object _objectInstance; ////// Creates a new instance of ObjectDataSourceDisposingEventArgs. /// public ObjectDataSourceDisposingEventArgs(object objectInstance) : base() { _objectInstance = objectInstance; } ////// The instance of the object created by the ObjectDataSource. Set this /// property if you need to create the object using a non-default /// constructor. /// public object ObjectInstance { get { return _objectInstance; } } } } // 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.Collections; using System.ComponentModel; using System.Security.Permissions; ////// Represents data that is passed into an ObjectDataSourceDisposingEventHandler delegate. /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ObjectDataSourceDisposingEventArgs : CancelEventArgs { private object _objectInstance; ////// Creates a new instance of ObjectDataSourceDisposingEventArgs. /// public ObjectDataSourceDisposingEventArgs(object objectInstance) : base() { _objectInstance = objectInstance; } ////// The instance of the object created by the ObjectDataSource. Set this /// property if you need to create the object using a non-default /// constructor. /// public object ObjectInstance { get { return _objectInstance; } } } } // 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
- CorruptingExceptionCommon.cs
- GenerateScriptTypeAttribute.cs
- ThemeDirectoryCompiler.cs
- DecimalConverter.cs
- UserControl.cs
- CompositeDataBoundControl.cs
- SocketElement.cs
- EllipseGeometry.cs
- MenuItem.cs
- BindingElementCollection.cs
- DataGridViewControlCollection.cs
- Library.cs
- MultiByteCodec.cs
- Menu.cs
- RtType.cs
- Menu.cs
- SystemResources.cs
- PopupRoot.cs
- SqlException.cs
- DataGridState.cs
- VirtualPathUtility.cs
- XomlCompiler.cs
- MappingModelBuildProvider.cs
- bidPrivateBase.cs
- CancellationState.cs
- AnonymousIdentificationSection.cs
- TextContainerHelper.cs
- handlecollector.cs
- _Win32.cs
- BinaryWriter.cs
- InternalBufferOverflowException.cs
- QilPatternVisitor.cs
- Pair.cs
- Rect3DConverter.cs
- AspCompat.cs
- TimelineGroup.cs
- X509AudioLogo.cs
- HttpCookiesSection.cs
- ToolStripDropDownClosedEventArgs.cs
- CustomLineCap.cs
- TextParagraphProperties.cs
- EventManager.cs
- IndexedString.cs
- GAC.cs
- DLinqTableProvider.cs
- HtmlInputCheckBox.cs
- PolygonHotSpot.cs
- JavaScriptObjectDeserializer.cs
- RepeaterItemEventArgs.cs
- CodeNamespace.cs
- DataGridViewLayoutData.cs
- DataGridCellClipboardEventArgs.cs
- Int16Animation.cs
- SignedXml.cs
- ProfileService.cs
- CollectionView.cs
- BoolExpr.cs
- XmlTextAttribute.cs
- XmlSchemaComplexContentExtension.cs
- BypassElementCollection.cs
- GatewayIPAddressInformationCollection.cs
- serverconfig.cs
- MultitargetingHelpers.cs
- ToolbarAUtomationPeer.cs
- ErrorActivity.cs
- SQLInt16.cs
- InputProcessorProfiles.cs
- SystemIPv4InterfaceProperties.cs
- SiteMapDataSourceView.cs
- Compilation.cs
- Geometry3D.cs
- BasePropertyDescriptor.cs
- AnnotationStore.cs
- UserValidatedEventArgs.cs
- TextureBrush.cs
- SchemaCompiler.cs
- FontResourceCache.cs
- CodeAssignStatement.cs
- HttpContext.cs
- DependencyPropertyKind.cs
- XmlSchemaParticle.cs
- Fx.cs
- ResourceManager.cs
- XmlObjectSerializerReadContextComplexJson.cs
- NameValuePermission.cs
- UnionExpr.cs
- MatrixTransform3D.cs
- XmlSchemaExternal.cs
- UpdateManifestForBrowserApplication.cs
- KeyedCollection.cs
- SessionKeyExpiredException.cs
- StaticSiteMapProvider.cs
- DBConnectionString.cs
- LabelLiteral.cs
- QuaternionAnimation.cs
- ListView.cs
- LineUtil.cs
- TimerEventSubscription.cs
- Missing.cs
- XamlPathDataSerializer.cs