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
- _AuthenticationState.cs
- _NetRes.cs
- MenuCommand.cs
- XmlReflectionImporter.cs
- FillBehavior.cs
- IdentitySection.cs
- EntityCommand.cs
- XmlSubtreeReader.cs
- XPathArrayIterator.cs
- SafeTokenHandle.cs
- CachedBitmap.cs
- FixedTextPointer.cs
- RequestUriProcessor.cs
- SequenceDesigner.cs
- LiteralControl.cs
- _ListenerRequestStream.cs
- PointConverter.cs
- InkCanvasInnerCanvas.cs
- XPathEmptyIterator.cs
- SpellerInterop.cs
- DataGridItem.cs
- CurrentTimeZone.cs
- xmlsaver.cs
- XmlNode.cs
- DefaultDiscoveryServiceExtension.cs
- HtmlToClrEventProxy.cs
- EntityDesignerBuildProvider.cs
- XmlTextReader.cs
- OrthographicCamera.cs
- Errors.cs
- SeekStoryboard.cs
- FixedSOMTable.cs
- Main.cs
- DefaultDiscoveryServiceExtension.cs
- HttpHeaderCollection.cs
- WebPartTracker.cs
- BookmarkTable.cs
- GroupBox.cs
- HttpEncoderUtility.cs
- IncrementalReadDecoders.cs
- BitmapDownload.cs
- UserControl.cs
- TimeSpanStorage.cs
- dbenumerator.cs
- SignedInfo.cs
- AssertFilter.cs
- DbConnectionPoolOptions.cs
- XmlUrlResolver.cs
- HandleRef.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- SelectionRangeConverter.cs
- ContentPlaceHolderDesigner.cs
- Dictionary.cs
- IndexedEnumerable.cs
- COMException.cs
- LineSegment.cs
- SecurityBindingElementImporter.cs
- ArrayWithOffset.cs
- ServiceOperation.cs
- ResourceManager.cs
- DataServicePagingProviderWrapper.cs
- CodeIterationStatement.cs
- CodeTypeParameter.cs
- SqlConnectionPoolGroupProviderInfo.cs
- UserControlParser.cs
- COAUTHINFO.cs
- InternalSafeNativeMethods.cs
- RenamedEventArgs.cs
- Helpers.cs
- WebControlAdapter.cs
- WindowsListViewItem.cs
- RelationshipType.cs
- ServiceModelActivity.cs
- Image.cs
- TimeManager.cs
- _UncName.cs
- ColumnHeader.cs
- Compiler.cs
- SBCSCodePageEncoding.cs
- ColumnMapProcessor.cs
- JoinSymbol.cs
- CapabilitiesRule.cs
- ExternalException.cs
- AssemblyHash.cs
- AutomationEventArgs.cs
- StringDictionary.cs
- MenuEventArgs.cs
- EntityFunctions.cs
- DependencyObjectType.cs
- BinaryObjectWriter.cs
- XPathAxisIterator.cs
- SessionState.cs
- PropertyIDSet.cs
- DataServiceHost.cs
- BoundField.cs
- SocketException.cs
- DesignerResources.cs
- ValidationSummary.cs
- metadatamappinghashervisitor.cs
- OrderingQueryOperator.cs