Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- embossbitmapeffect.cs
- StatementContext.cs
- BehaviorEditorPart.cs
- CodeVariableDeclarationStatement.cs
- StringOutput.cs
- SiteIdentityPermission.cs
- DataGridViewMethods.cs
- ItemCollection.cs
- ArgumentException.cs
- AppSettingsSection.cs
- RequestSecurityTokenResponse.cs
- FontConverter.cs
- ClientScriptItem.cs
- SafeFreeMibTable.cs
- SchemaInfo.cs
- DrawingBrush.cs
- ErrorHandler.cs
- WebSysDescriptionAttribute.cs
- BackgroundWorker.cs
- AdornerHitTestResult.cs
- RawStylusInputCustomData.cs
- MenuItem.cs
- TdsValueSetter.cs
- InputLanguageProfileNotifySink.cs
- Semaphore.cs
- ExtendedProtectionPolicyElement.cs
- PartitionResolver.cs
- MsmqDiagnostics.cs
- XamlGridLengthSerializer.cs
- ClrProviderManifest.cs
- EventDescriptor.cs
- AdornerHitTestResult.cs
- TextRunTypographyProperties.cs
- Propagator.Evaluator.cs
- ClientUtils.cs
- Container.cs
- FormattedTextSymbols.cs
- Compress.cs
- OneToOneMappingSerializer.cs
- StreamResourceInfo.cs
- InheritanceAttribute.cs
- CultureTable.cs
- XmlDataProvider.cs
- XmlTextReaderImpl.cs
- Directory.cs
- ByteArrayHelperWithString.cs
- Cursor.cs
- TextEditorCharacters.cs
- Drawing.cs
- SplitterCancelEvent.cs
- ObjectQueryProvider.cs
- XmlIlGenerator.cs
- ClientConfigPaths.cs
- View.cs
- XmlNamespaceMappingCollection.cs
- LayoutEvent.cs
- SyndicationItemFormatter.cs
- XPathSelectionIterator.cs
- followingsibling.cs
- InvalidOperationException.cs
- InkCanvasFeedbackAdorner.cs
- CatalogPartDesigner.cs
- RowUpdatedEventArgs.cs
- GridViewCommandEventArgs.cs
- DispatcherObject.cs
- EventListenerClientSide.cs
- ErrorItem.cs
- SessionStateUtil.cs
- FontDifferentiator.cs
- TraceSection.cs
- NativeMethods.cs
- UnmanagedMemoryStreamWrapper.cs
- HMACSHA512.cs
- WebPartZone.cs
- QuaternionIndependentAnimationStorage.cs
- ObjectComplexPropertyMapping.cs
- AutoScrollExpandMessageFilter.cs
- NativeMethodsCLR.cs
- ReadOnlyNameValueCollection.cs
- TextTreeTextElementNode.cs
- ReflectionPermission.cs
- SerializeAbsoluteContext.cs
- Transform3DCollection.cs
- ProviderSettingsCollection.cs
- WindowsHyperlink.cs
- AttributeCollection.cs
- DataGridViewRowPostPaintEventArgs.cs
- UndirectedGraph.cs
- OdbcParameterCollection.cs
- TableDetailsRow.cs
- CodeMemberProperty.cs
- Size3DValueSerializer.cs
- CheckBoxAutomationPeer.cs
- DataPointer.cs
- MasterPage.cs
- PointKeyFrameCollection.cs
- PeerNameResolver.cs
- MainMenu.cs
- HttpServerVarsCollection.cs
- MediaSystem.cs