Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ConnectionStringsSection.cs
- InputMethodStateChangeEventArgs.cs
- PersistenceProvider.cs
- ComPlusTypeLoader.cs
- PagerSettings.cs
- AsymmetricKeyExchangeDeformatter.cs
- UnmanagedMemoryStreamWrapper.cs
- XmlSchemaFacet.cs
- BaseParagraph.cs
- OneWayElement.cs
- HyperLinkField.cs
- HttpClientCertificate.cs
- Decimal.cs
- OdbcConnectionOpen.cs
- RC2.cs
- BackStopAuthenticationModule.cs
- StaticExtension.cs
- VisualTransition.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- DesignerValidatorAdapter.cs
- BaseProcessor.cs
- ActivitySurrogate.cs
- WebControlsSection.cs
- ZipFileInfo.cs
- InputReportEventArgs.cs
- GeometryCollection.cs
- Parameter.cs
- DebugController.cs
- StorageBasedPackageProperties.cs
- CanonicalizationDriver.cs
- DrawListViewItemEventArgs.cs
- ToolStripButton.cs
- WebResponse.cs
- UserNameSecurityToken.cs
- BindingExpressionBase.cs
- util.cs
- CompiledIdentityConstraint.cs
- ApplicationCommands.cs
- InputElement.cs
- TagNameToTypeMapper.cs
- SqlUtil.cs
- HttpContextServiceHost.cs
- DefaultValidator.cs
- Int32.cs
- DataGridCheckBoxColumn.cs
- PageAsyncTask.cs
- OraclePermission.cs
- TextTreeRootNode.cs
- TrustManagerMoreInformation.cs
- QuaternionIndependentAnimationStorage.cs
- DataPagerCommandEventArgs.cs
- DesignerActionMethodItem.cs
- XmlArrayItemAttributes.cs
- DataGridToolTip.cs
- ResourceContainer.cs
- SystemSounds.cs
- invalidudtexception.cs
- AutomationProperty.cs
- AnnotationAdorner.cs
- ApplicationDirectoryMembershipCondition.cs
- TreeNodeClickEventArgs.cs
- PathSegment.cs
- MergeExecutor.cs
- KeyProperty.cs
- RequestCacheEntry.cs
- GenericTypeParameterBuilder.cs
- ClonableStack.cs
- ConsumerConnectionPoint.cs
- OleDbErrorCollection.cs
- InvokePatternIdentifiers.cs
- MediaContext.cs
- InvokeProviderWrapper.cs
- CodeGroup.cs
- MemberProjectedSlot.cs
- AdjustableArrowCap.cs
- ThaiBuddhistCalendar.cs
- SymbolPair.cs
- _BufferOffsetSize.cs
- WindowVisualStateTracker.cs
- XmlDownloadManager.cs
- EntityDataSourceSelectedEventArgs.cs
- PackWebRequestFactory.cs
- ConstructorArgumentAttribute.cs
- RectangleHotSpot.cs
- WebPartsPersonalization.cs
- LocatorPartList.cs
- TraceListener.cs
- LicenseManager.cs
- documentsequencetextview.cs
- FormsAuthenticationUser.cs
- SqlDataSourceRefreshSchemaForm.cs
- EdmItemCollection.cs
- RichTextBox.cs
- XsdBuilder.cs
- HttpSessionStateWrapper.cs
- AccessViolationException.cs
- RowToFieldTransformer.cs
- ConfigurationSectionCollection.cs
- Deflater.cs
- CompoundFileStorageReference.cs