Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PseudoWebRequest.cs
- HttpProfileGroupBase.cs
- HttpCapabilitiesEvaluator.cs
- DataProviderNameConverter.cs
- XmlElement.cs
- ClientSponsor.cs
- MediaEntryAttribute.cs
- SslStream.cs
- ViewgenContext.cs
- WbemException.cs
- PolicyStatement.cs
- ImageAnimator.cs
- CorrelationManager.cs
- Tokenizer.cs
- DefaultTraceListener.cs
- ObfuscateAssemblyAttribute.cs
- DataRecordInfo.cs
- HierarchicalDataSourceIDConverter.cs
- ActionItem.cs
- _AutoWebProxyScriptEngine.cs
- PackUriHelper.cs
- SecureEnvironment.cs
- CompositionCommandSet.cs
- RotateTransform3D.cs
- MergeLocalizationDirectives.cs
- MDIClient.cs
- TextReader.cs
- DispatcherHooks.cs
- FontStyles.cs
- CompoundFileIOPermission.cs
- WebServicesInteroperability.cs
- InputBuffer.cs
- ClientSettingsSection.cs
- DocumentCollection.cs
- FacetValues.cs
- RefType.cs
- RenameRuleObjectDialog.Designer.cs
- WebDisplayNameAttribute.cs
- EventlogProvider.cs
- SmiRecordBuffer.cs
- SmiMetaDataProperty.cs
- IgnoreFlushAndCloseStream.cs
- ToolStripContentPanel.cs
- DataGridTemplateColumn.cs
- MeasureData.cs
- WebHttpBindingElement.cs
- PropertyPushdownHelper.cs
- DebugView.cs
- KeySpline.cs
- MethodBuilderInstantiation.cs
- XmlQuerySequence.cs
- FileChangesMonitor.cs
- QueryNode.cs
- XmlSchemaProviderAttribute.cs
- Stopwatch.cs
- COM2ColorConverter.cs
- SecurityContextSecurityTokenParameters.cs
- DataObjectSettingDataEventArgs.cs
- CreateUserErrorEventArgs.cs
- HTMLTagNameToTypeMapper.cs
- PrefixQName.cs
- CalendarDay.cs
- FontCollection.cs
- input.cs
- SafeRightsManagementQueryHandle.cs
- ToolStripContainer.cs
- HttpProfileGroupBase.cs
- ImageDrawing.cs
- DashStyle.cs
- CancelEventArgs.cs
- FixedDocument.cs
- CompositionCommandSet.cs
- DataGridCaption.cs
- RectangleConverter.cs
- BrowserTree.cs
- ListViewGroupConverter.cs
- DataTemplateSelector.cs
- WizardStepCollectionEditor.cs
- InstanceCreationEditor.cs
- filewebrequest.cs
- ZipIOCentralDirectoryFileHeader.cs
- MSHTMLHost.cs
- HtmlTitle.cs
- PerformanceCountersElement.cs
- GeneralTransform3DGroup.cs
- UpDownEvent.cs
- Type.cs
- TextAdaptor.cs
- TreeViewImageKeyConverter.cs
- HttpWebRequest.cs
- XmlIgnoreAttribute.cs
- KnownColorTable.cs
- FontUnitConverter.cs
- SecurityPolicySection.cs
- InputReport.cs
- NullRuntimeConfig.cs
- PeerNameResolver.cs
- ProcessModule.cs
- ImageMetadata.cs
- AlignmentYValidation.cs