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
- LocalIdKeyIdentifierClause.cs
- NullRuntimeConfig.cs
- ThicknessKeyFrameCollection.cs
- PropertyFilterAttribute.cs
- Compensate.cs
- IsolatedStoragePermission.cs
- LassoHelper.cs
- ServiceReference.cs
- FileDialog.cs
- XmlSchemaObjectTable.cs
- XPathException.cs
- BindingList.cs
- EventLogPermission.cs
- MatchingStyle.cs
- ToolTip.cs
- ToolBarButton.cs
- PointCollectionConverter.cs
- ProfileInfo.cs
- CellRelation.cs
- ToolStrip.cs
- ArgumentNullException.cs
- CollectionMarkupSerializer.cs
- Fx.cs
- XsdBuilder.cs
- MessageQueueCriteria.cs
- XmlAttributeOverrides.cs
- WebPartConnectionsConfigureVerb.cs
- Span.cs
- LinkLabelLinkClickedEvent.cs
- OleServicesContext.cs
- ImageUrlEditor.cs
- DispatcherFrame.cs
- BlockCollection.cs
- BasicKeyConstraint.cs
- ArrayMergeHelper.cs
- HandlerFactoryCache.cs
- _NestedSingleAsyncResult.cs
- SerializationFieldInfo.cs
- SiteMapSection.cs
- PathFigureCollection.cs
- CommandHelper.cs
- TreeWalker.cs
- TextStore.cs
- MessageSecurityOverHttpElement.cs
- EventLogRecord.cs
- WindowsAuthenticationEventArgs.cs
- XmlReturnWriter.cs
- VisualBasicReference.cs
- TogglePatternIdentifiers.cs
- FixedSOMTextRun.cs
- FixedHyperLink.cs
- Win32PrintDialog.cs
- DetailsViewDeletedEventArgs.cs
- DetailsViewInsertEventArgs.cs
- XmlObjectSerializerWriteContext.cs
- D3DImage.cs
- JournalEntry.cs
- IPCCacheManager.cs
- InvokeSchedule.cs
- WebPartDisplayModeCollection.cs
- SqlCachedBuffer.cs
- SessionPageStateSection.cs
- Context.cs
- ScriptControlManager.cs
- CodeAssignStatement.cs
- XDeferredAxisSource.cs
- X509SecurityTokenProvider.cs
- UnauthorizedWebPart.cs
- DataBinding.cs
- FixedFlowMap.cs
- Viewport2DVisual3D.cs
- CapabilitiesAssignment.cs
- DynamicDataManager.cs
- CustomError.cs
- GenerateTemporaryAssemblyTask.cs
- Adorner.cs
- GrammarBuilderRuleRef.cs
- WindowsIPAddress.cs
- GeneralTransform3DTo2DTo3D.cs
- ReverseInheritProperty.cs
- TabItemWrapperAutomationPeer.cs
- SimpleBitVector32.cs
- Point3DCollection.cs
- WeakRefEnumerator.cs
- DesignerCalendarAdapter.cs
- FixedHighlight.cs
- RawStylusSystemGestureInputReport.cs
- path.cs
- FieldNameLookup.cs
- SolidColorBrush.cs
- AccessViolationException.cs
- ProcessModelSection.cs
- HttpListenerContext.cs
- ReceiveActivity.cs
- ImmutablePropertyDescriptorGridEntry.cs
- HeaderUtility.cs
- TypeCollectionPropertyEditor.cs
- PathSegmentCollection.cs
- XPathConvert.cs
- ConstrainedDataObject.cs