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
- InvalidAsynchronousStateException.cs
- DynamicILGenerator.cs
- printdlgexmarshaler.cs
- TypeConverterBase.cs
- CaseKeyBox.xaml.cs
- TimerEventSubscription.cs
- Screen.cs
- XmlNodeList.cs
- Buffer.cs
- AsyncCompletedEventArgs.cs
- TableLayoutPanel.cs
- SqlTopReducer.cs
- datacache.cs
- OracleInternalConnection.cs
- ConnectorDragDropGlyph.cs
- LayoutEditorPart.cs
- UnsafeNativeMethods.cs
- FillBehavior.cs
- RequestCache.cs
- XPathScanner.cs
- StrongNameSignatureInformation.cs
- DirectoryNotFoundException.cs
- ComponentCommands.cs
- MenuEventArgs.cs
- CodeNamespaceImport.cs
- PcmConverter.cs
- CodeObject.cs
- TrustManagerPromptUI.cs
- InvalidPrinterException.cs
- RelationshipSet.cs
- HtmlInputButton.cs
- SqlCacheDependencySection.cs
- PolygonHotSpot.cs
- EventLogPermissionAttribute.cs
- Rss20ItemFormatter.cs
- KeyPressEvent.cs
- XmlHelper.cs
- BufferModeSettings.cs
- Tile.cs
- ImageMap.cs
- AssemblyFilter.cs
- DesignerUtils.cs
- XmlDataLoader.cs
- MultipartContentParser.cs
- ArrayMergeHelper.cs
- EmptyQuery.cs
- MetafileHeaderWmf.cs
- TemplateFactory.cs
- ServiceDescriptions.cs
- TextAnchor.cs
- HtmlFormWrapper.cs
- FocusTracker.cs
- XmlSchemaAnnotated.cs
- BaseCollection.cs
- Matrix3DStack.cs
- PropertyValueUIItem.cs
- ElementHostPropertyMap.cs
- VirtualizingPanel.cs
- AssociationProvider.cs
- AuthenticationManager.cs
- CultureSpecificCharacterBufferRange.cs
- DataTrigger.cs
- ColumnCollectionEditor.cs
- _AutoWebProxyScriptEngine.cs
- PropertyGeneratedEventArgs.cs
- ProfileInfo.cs
- FreezableDefaultValueFactory.cs
- Vector3DAnimation.cs
- SqlRowUpdatingEvent.cs
- BaseTemplateParser.cs
- BinHexEncoder.cs
- ObjectDataSource.cs
- ParameterExpression.cs
- RenamedEventArgs.cs
- NumberFunctions.cs
- InvalidOperationException.cs
- ExtendedPropertyCollection.cs
- Schema.cs
- DocumentViewerHelper.cs
- SqlDataSourceStatusEventArgs.cs
- SafeNativeMethodsOther.cs
- SpecialFolderEnumConverter.cs
- CalendarTable.cs
- SqlBuilder.cs
- ListItemViewAttribute.cs
- TreeNodeMouseHoverEvent.cs
- SapiRecoInterop.cs
- InfoCardKeyedHashAlgorithm.cs
- LicenseProviderAttribute.cs
- Guid.cs
- ClientBuildManager.cs
- ExpressionConverter.cs
- ButtonStandardAdapter.cs
- ReadOnlyCollectionBase.cs
- SvcMapFile.cs
- StackSpiller.Bindings.cs
- columnmapfactory.cs
- CircleHotSpot.cs
- SQLCharsStorage.cs
- InternalBase.cs