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
- SingleSelectRootGridEntry.cs
- SecureEnvironment.cs
- ToolStripRenderEventArgs.cs
- InputLangChangeEvent.cs
- FamilyTypeface.cs
- ScrollContentPresenter.cs
- EventEntry.cs
- TimeSpanParse.cs
- CLSCompliantAttribute.cs
- TitleStyle.cs
- HtmlGenericControl.cs
- SmtpMail.cs
- HTTPRemotingHandler.cs
- XmlSiteMapProvider.cs
- NetMsmqSecurityElement.cs
- Primitive.cs
- xdrvalidator.cs
- TextCharacters.cs
- DescendantQuery.cs
- PerfCounterSection.cs
- PointKeyFrameCollection.cs
- HandlerMappingMemo.cs
- DataConnectionHelper.cs
- SqlError.cs
- ProtocolViolationException.cs
- CheckBoxStandardAdapter.cs
- PrivilegedConfigurationManager.cs
- MbpInfo.cs
- ActivityBuilder.cs
- SecurityKeyIdentifierClause.cs
- ComplexTypeEmitter.cs
- SQLInt64.cs
- AppDomainManager.cs
- PathGeometry.cs
- SecurityElement.cs
- CodeCompiler.cs
- KeyboardNavigation.cs
- CapiHashAlgorithm.cs
- TemplateEditingVerb.cs
- AstTree.cs
- XmlQueryType.cs
- WebPartConnectionsDisconnectVerb.cs
- ToolboxItem.cs
- Select.cs
- ObservableCollectionDefaultValueFactory.cs
- DBSchemaTable.cs
- BlockUIContainer.cs
- Padding.cs
- List.cs
- SafeSecurityHelper.cs
- Rotation3DAnimation.cs
- MsmqIntegrationElement.cs
- Connection.cs
- InstanceKeyCompleteException.cs
- StaticFileHandler.cs
- DiscoveryExceptionDictionary.cs
- _CookieModule.cs
- RegexStringValidator.cs
- WindowsFormsHelpers.cs
- TagPrefixCollection.cs
- UnsafeNativeMethods.cs
- SetMemberBinder.cs
- HttpWrapper.cs
- BulletChrome.cs
- DocumentPage.cs
- CharacterMetricsDictionary.cs
- CombinedTcpChannel.cs
- OdbcEnvironment.cs
- DataGridViewRow.cs
- CodeNamespaceCollection.cs
- SemaphoreSecurity.cs
- PanningMessageFilter.cs
- EncryptedType.cs
- SqlDependencyListener.cs
- TypeRefElement.cs
- PrePrepareMethodAttribute.cs
- COM2EnumConverter.cs
- MembershipSection.cs
- TemplateKeyConverter.cs
- AppDomainManager.cs
- NegotiateStream.cs
- DataObjectCopyingEventArgs.cs
- TextTreeUndo.cs
- MarkupCompiler.cs
- DWriteFactory.cs
- CngKeyCreationParameters.cs
- CodeExpressionStatement.cs
- FormatVersion.cs
- TextPointer.cs
- DbCommandTree.cs
- Connector.cs
- TextRangeAdaptor.cs
- BoundPropertyEntry.cs
- BamlLocalizer.cs
- ClientCredentialsElement.cs
- GroupBox.cs
- CounterCreationDataCollection.cs
- InputLanguageSource.cs
- ProtocolElementCollection.cs
- UnsafeNativeMethods.cs