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
- SocketAddress.cs
- XmlSerializationReader.cs
- HttpStreamFormatter.cs
- AutomationPropertyInfo.cs
- PlacementWorkspace.cs
- Root.cs
- InternalResources.cs
- Models.cs
- SiteMapNodeCollection.cs
- XmlSchemaAppInfo.cs
- NonParentingControl.cs
- FormatterServices.cs
- ClockController.cs
- ColorDialog.cs
- PersonalizationProviderCollection.cs
- DataListComponentEditor.cs
- DefaultMergeHelper.cs
- DisplayInformation.cs
- DataTemplate.cs
- MenuItemAutomationPeer.cs
- BuildProvidersCompiler.cs
- SendActivityDesigner.cs
- SignedPkcs7.cs
- RuntimeCompatibilityAttribute.cs
- FontSource.cs
- MatrixAnimationUsingKeyFrames.cs
- CompositionTarget.cs
- ResolveNameEventArgs.cs
- ExpandCollapsePattern.cs
- XsdValidatingReader.cs
- PersonalizationProviderCollection.cs
- ProxyManager.cs
- DynamicFilter.cs
- NativeCompoundFileAPIs.cs
- DiscardableAttribute.cs
- ProfileSection.cs
- XmlIlGenerator.cs
- ScriptModule.cs
- UpdateException.cs
- FrameworkReadOnlyPropertyMetadata.cs
- DefaultHttpHandler.cs
- FilteredDataSetHelper.cs
- FactoryId.cs
- ContextStack.cs
- LinqDataSource.cs
- ObjectParameter.cs
- ProjectionPathSegment.cs
- ServiceThrottlingBehavior.cs
- EntitySetRetriever.cs
- PersonalizationEntry.cs
- XmlByteStreamWriter.cs
- ForEachDesigner.xaml.cs
- SmtpNetworkElement.cs
- MediaTimeline.cs
- EncodingNLS.cs
- ImageDrawing.cs
- PartialToken.cs
- SecurityElement.cs
- DecoratedNameAttribute.cs
- StringDictionaryEditor.cs
- AsyncPostBackTrigger.cs
- LinqDataSourceEditData.cs
- TdsParserSafeHandles.cs
- PackagePart.cs
- BasicCellRelation.cs
- ErrorWebPart.cs
- PerformanceCounterPermissionAttribute.cs
- WindowsHyperlink.cs
- OptimalBreakSession.cs
- GridViewSortEventArgs.cs
- Int32CollectionConverter.cs
- TabControl.cs
- GradientSpreadMethodValidation.cs
- TransformerConfigurationWizardBase.cs
- WizardPanel.cs
- PartitionResolver.cs
- GrammarBuilderRuleRef.cs
- Soap12ProtocolImporter.cs
- RouteItem.cs
- OleDbDataReader.cs
- RangeBase.cs
- DataBoundControlHelper.cs
- WebPartVerbCollection.cs
- BamlCollectionHolder.cs
- PrefixHandle.cs
- ArrayWithOffset.cs
- ConfigsHelper.cs
- ServicePointManagerElement.cs
- Screen.cs
- DBCSCodePageEncoding.cs
- SerTrace.cs
- ResourceContainer.cs
- ModulesEntry.cs
- WindowAutomationPeer.cs
- TextDecorationCollection.cs
- LineBreak.cs
- Baml6Assembly.cs
- MasterPageCodeDomTreeGenerator.cs
- AnchoredBlock.cs
- UidPropertyAttribute.cs