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
- Size.cs
- SHA384CryptoServiceProvider.cs
- DetailsViewInsertedEventArgs.cs
- TdsParameterSetter.cs
- LogEntryHeaderSerializer.cs
- Column.cs
- SQLRoleProvider.cs
- ValidationEventArgs.cs
- IncrementalReadDecoders.cs
- EraserBehavior.cs
- RoleGroup.cs
- DesignerAttribute.cs
- FSWPathEditor.cs
- UInt64.cs
- BaseParser.cs
- WrappingXamlSchemaContext.cs
- MetaModel.cs
- Pair.cs
- Html32TextWriter.cs
- TransactionInformation.cs
- TransactionContextValidator.cs
- SerializationFieldInfo.cs
- ModuleBuilder.cs
- RequestedSignatureDialog.cs
- BuiltInExpr.cs
- InlineCategoriesDocument.cs
- Schema.cs
- PriorityRange.cs
- GeometryValueSerializer.cs
- DataGridParentRows.cs
- PresentationAppDomainManager.cs
- EncoderReplacementFallback.cs
- ViewRendering.cs
- FragmentNavigationEventArgs.cs
- QueryStack.cs
- TypeSystem.cs
- PropertyGridCommands.cs
- StylusShape.cs
- ResourcesBuildProvider.cs
- GorillaCodec.cs
- SafeProcessHandle.cs
- TypeEnumerableViewSchema.cs
- ProtocolViolationException.cs
- WebSysDefaultValueAttribute.cs
- CodeExporter.cs
- EntityClassGenerator.cs
- StylusPointProperty.cs
- ControlPropertyNameConverter.cs
- RequestCache.cs
- BoolLiteral.cs
- DateTimeFormatInfoScanner.cs
- PluralizationServiceUtil.cs
- UserMapPath.cs
- StringFreezingAttribute.cs
- TileModeValidation.cs
- Container.cs
- Parameter.cs
- DocumentOrderComparer.cs
- SmiEventSink_Default.cs
- WasNotInstalledException.cs
- DriveNotFoundException.cs
- TouchFrameEventArgs.cs
- ToolStripSeparator.cs
- StorageEntitySetMapping.cs
- Vertex.cs
- AssemblyNameProxy.cs
- BrushConverter.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- LogArchiveSnapshot.cs
- HashCodeCombiner.cs
- BamlReader.cs
- ExpressionNormalizer.cs
- While.cs
- OpCodes.cs
- ValueConversionAttribute.cs
- ProfileProvider.cs
- DataGridRelationshipRow.cs
- TreeNodeStyleCollectionEditor.cs
- StyleBamlTreeBuilder.cs
- SelectionProviderWrapper.cs
- Int64Animation.cs
- AssociationTypeEmitter.cs
- CaseExpr.cs
- UIElement3DAutomationPeer.cs
- Help.cs
- TemplatePagerField.cs
- BooleanSwitch.cs
- VectorAnimationUsingKeyFrames.cs
- SelectiveScrollingGrid.cs
- SystemWebExtensionsSectionGroup.cs
- LocalizationCodeDomSerializer.cs
- OdbcPermission.cs
- AuthenticatingEventArgs.cs
- NetworkInterface.cs
- DataControlField.cs
- DefaultTraceListener.cs
- BuildManager.cs
- XhtmlTextWriter.cs
- CachedCompositeFamily.cs
- newinstructionaction.cs