Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SymmetricKey.cs
- DiagnosticsConfiguration.cs
- RequestQueryProcessor.cs
- WindowsBrush.cs
- DecoratedNameAttribute.cs
- RuntimeHandles.cs
- DecimalAnimationUsingKeyFrames.cs
- SqlDataSourceCommandParser.cs
- FontCollection.cs
- IndexedEnumerable.cs
- SystemIPGlobalProperties.cs
- MessagePartProtectionMode.cs
- AspCompat.cs
- SHA512Managed.cs
- baseaxisquery.cs
- MostlySingletonList.cs
- CoreSwitches.cs
- SafeNativeMethods.cs
- ManagementNamedValueCollection.cs
- MultiTrigger.cs
- Latin1Encoding.cs
- UrlMappingsSection.cs
- SqlBooleanizer.cs
- CustomPopupPlacement.cs
- WebPartHeaderCloseVerb.cs
- InputLangChangeEvent.cs
- AxHost.cs
- BitVector32.cs
- Maps.cs
- MemoryPressure.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- LineServicesCallbacks.cs
- httpserverutility.cs
- Size3DConverter.cs
- EntityDataSourceDataSelection.cs
- PropertyGeneratedEventArgs.cs
- __Filters.cs
- Expressions.cs
- TransactionsSectionGroup.cs
- ProfileSection.cs
- ChineseLunisolarCalendar.cs
- SignatureGenerator.cs
- SafeNativeMethods.cs
- ExeConfigurationFileMap.cs
- TextTreeInsertUndoUnit.cs
- FormViewRow.cs
- _UncName.cs
- StylusPointPropertyInfoDefaults.cs
- LogLogRecord.cs
- Version.cs
- ActivityCodeDomReferenceService.cs
- EditCommandColumn.cs
- ConfigXmlWhitespace.cs
- DispatchWrapper.cs
- RoleManagerSection.cs
- ReliabilityContractAttribute.cs
- TypeBuilder.cs
- IProvider.cs
- SqlErrorCollection.cs
- HierarchicalDataSourceDesigner.cs
- ToolStripDropDownClosedEventArgs.cs
- WeakEventManager.cs
- XmlQueryContext.cs
- UpDownEvent.cs
- ModifiableIteratorCollection.cs
- WebBrowserHelper.cs
- DiagnosticEventProvider.cs
- NativeMethods.cs
- Select.cs
- EncoderNLS.cs
- mactripleDES.cs
- CodeDirectionExpression.cs
- _FixedSizeReader.cs
- DynamicValueConverter.cs
- PropertyMapper.cs
- ErrorWrapper.cs
- Method.cs
- MD5.cs
- IfJoinedCondition.cs
- Lock.cs
- SimpleTextLine.cs
- RangeContentEnumerator.cs
- Crypto.cs
- ProfileGroupSettings.cs
- HierarchicalDataSourceIDConverter.cs
- DocumentXmlWriter.cs
- NameTable.cs
- MarkupExtensionSerializer.cs
- IUnknownConstantAttribute.cs
- InheritanceContextChangedEventManager.cs
- CompilationUnit.cs
- ApplicationTrust.cs
- EventsTab.cs
- SqlNodeAnnotations.cs
- CodeStatement.cs
- HttpListenerContext.cs
- FontCacheUtil.cs
- PlanCompilerUtil.cs
- DesigntimeLicenseContextSerializer.cs
- TextViewSelectionProcessor.cs