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
- HostProtectionPermission.cs
- XmlSchemaInclude.cs
- AnnotationComponentManager.cs
- TreeNodeBinding.cs
- XMLSchema.cs
- IfAction.cs
- DescendentsWalker.cs
- TCPListener.cs
- CacheDependency.cs
- ToolStripTemplateNode.cs
- AccessDataSourceDesigner.cs
- FixUp.cs
- CompoundFileStorageReference.cs
- LinkButton.cs
- TaskFileService.cs
- InheritanceContextChangedEventManager.cs
- WebHttpSecurityModeHelper.cs
- DataList.cs
- WhitespaceRule.cs
- Permission.cs
- CapiSafeHandles.cs
- _ProxyChain.cs
- LinkLabel.cs
- KnownBoxes.cs
- EnumDataContract.cs
- PerformanceCounterManager.cs
- OciHandle.cs
- PersistStreamTypeWrapper.cs
- MachineKeySection.cs
- EmptyTextWriter.cs
- DrawingCollection.cs
- WebPartEventArgs.cs
- TextTabProperties.cs
- ModelItemKeyValuePair.cs
- EmptyArray.cs
- MetabaseReader.cs
- BasicDesignerLoader.cs
- ResXResourceReader.cs
- CharKeyFrameCollection.cs
- ActivationArguments.cs
- PeerToPeerException.cs
- Vector3D.cs
- WeakHashtable.cs
- Nullable.cs
- PackageDigitalSignatureManager.cs
- FrameSecurityDescriptor.cs
- ScalarOps.cs
- AllowedAudienceUriElementCollection.cs
- _ConnectOverlappedAsyncResult.cs
- ComplexBindingPropertiesAttribute.cs
- SimpleExpression.cs
- SettingsPropertyValue.cs
- SynchronizationLockException.cs
- DummyDataSource.cs
- UDPClient.cs
- SqlNotificationRequest.cs
- PingReply.cs
- MessageQueuePermissionEntryCollection.cs
- UrlMapping.cs
- RenderContext.cs
- NumberSubstitution.cs
- BoundsDrawingContextWalker.cs
- SchemaSetCompiler.cs
- HtmlMeta.cs
- ConfigurationSection.cs
- SwitchElementsCollection.cs
- Stack.cs
- BindingSource.cs
- DrawTreeNodeEventArgs.cs
- ClientSponsor.cs
- TrackingStringDictionary.cs
- MappingMetadataHelper.cs
- EntityRecordInfo.cs
- ItemMap.cs
- HttpWriter.cs
- DataObjectSettingDataEventArgs.cs
- ObjectParameter.cs
- TextSpan.cs
- PrincipalPermissionMode.cs
- XmlElementAttribute.cs
- XmlTypeMapping.cs
- Encoding.cs
- RegexMatch.cs
- EmissiveMaterial.cs
- SizeConverter.cs
- SqlExpander.cs
- StorageAssociationTypeMapping.cs
- ProtocolsConfigurationHandler.cs
- RtfFormatStack.cs
- DBNull.cs
- NodeInfo.cs
- Vector3DConverter.cs
- ButtonChrome.cs
- ControlParameter.cs
- EntityRecordInfo.cs
- PageThemeBuildProvider.cs
- CurrentTimeZone.cs
- WebPartZone.cs
- GenerateHelper.cs
- SqlRowUpdatedEvent.cs