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
- ProfileInfo.cs
- GeometryCollection.cs
- DataGridViewHitTestInfo.cs
- SiteMapNodeCollection.cs
- FormParameter.cs
- CompoundFileIOPermission.cs
- LexicalChunk.cs
- SecurityTokenProvider.cs
- IDReferencePropertyAttribute.cs
- EventLogEntry.cs
- HyperLinkField.cs
- connectionpool.cs
- SqlDataSourceCommandEventArgs.cs
- WebPartConnectionsCloseVerb.cs
- FileDialog.cs
- ListBindableAttribute.cs
- TreeNode.cs
- OdbcCommand.cs
- DrawingImage.cs
- SecurityUtils.cs
- Operator.cs
- Transform3DGroup.cs
- Gdiplus.cs
- StringCollection.cs
- BindableTemplateBuilder.cs
- GiveFeedbackEventArgs.cs
- TextRangeBase.cs
- AutomationIdentifier.cs
- IdentityNotMappedException.cs
- BaseTreeIterator.cs
- BCryptNative.cs
- ErrorTableItemStyle.cs
- Propagator.JoinPropagator.cs
- RijndaelManaged.cs
- GeometryHitTestResult.cs
- ProviderException.cs
- NestedContainer.cs
- SessionPageStateSection.cs
- EventBindingService.cs
- sqlnorm.cs
- DataGridParentRows.cs
- BatchStream.cs
- _AutoWebProxyScriptEngine.cs
- NativeBuffer.cs
- ServiceOperationParameter.cs
- PeerNameRegistration.cs
- ManifestBasedResourceGroveler.cs
- ParamArrayAttribute.cs
- TraceSection.cs
- HyperLinkField.cs
- WS2007FederationHttpBindingElement.cs
- JapaneseLunisolarCalendar.cs
- AnimationTimeline.cs
- DataMemberFieldConverter.cs
- ListViewInsertedEventArgs.cs
- SrgsElementList.cs
- SerializeAbsoluteContext.cs
- DeobfuscatingStream.cs
- SmtpMail.cs
- BasicKeyConstraint.cs
- FlowLayoutSettings.cs
- TableColumn.cs
- DataGridTemplateColumn.cs
- EventProxy.cs
- Int32RectConverter.cs
- ControlBuilderAttribute.cs
- MailWebEventProvider.cs
- DebuggerAttributes.cs
- PerformanceCounterPermissionEntry.cs
- MemberAssignmentAnalysis.cs
- BamlTreeMap.cs
- ProviderUtil.cs
- LineInfo.cs
- Container.cs
- QilValidationVisitor.cs
- oledbconnectionstring.cs
- AddInDeploymentState.cs
- ExpressionBuilderContext.cs
- DataGridColumnHeaderAutomationPeer.cs
- TextRunCacheImp.cs
- ControlSerializer.cs
- VirtualDirectoryMapping.cs
- ListViewSelectEventArgs.cs
- OletxTransactionHeader.cs
- ImageFormatConverter.cs
- RSAPKCS1KeyExchangeFormatter.cs
- indexingfiltermarshaler.cs
- MenuBase.cs
- XsdBuildProvider.cs
- Activation.cs
- TargetException.cs
- Profiler.cs
- SamlAttributeStatement.cs
- XmlQueryTypeFactory.cs
- PerspectiveCamera.cs
- OdbcCommandBuilder.cs
- Vector3DCollectionConverter.cs
- DataListItemEventArgs.cs
- webeventbuffer.cs
- SqlRowUpdatingEvent.cs