Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolStripArrowRenderEventArgs.cs
- MatrixCamera.cs
- HttpModulesSection.cs
- TrackingMemoryStreamFactory.cs
- PropertyChange.cs
- CollectionMarkupSerializer.cs
- safelink.cs
- DrawingAttributesDefaultValueFactory.cs
- DataRowExtensions.cs
- WindowsSysHeader.cs
- HMACSHA1.cs
- ColorConverter.cs
- ReferenceService.cs
- SerTrace.cs
- SoapAttributes.cs
- CacheDict.cs
- FamilyTypeface.cs
- FileDialog_Vista_Interop.cs
- DispatcherEventArgs.cs
- AxImporter.cs
- GridItemProviderWrapper.cs
- DesignColumn.cs
- RangeContentEnumerator.cs
- Missing.cs
- ObjectManager.cs
- COM2ComponentEditor.cs
- CodePrimitiveExpression.cs
- TemplateBindingExtensionConverter.cs
- Color.cs
- FrameworkElementAutomationPeer.cs
- XmlDataSource.cs
- TextFormatter.cs
- DataGridViewBand.cs
- RegexNode.cs
- DelegateBodyWriter.cs
- TraceSection.cs
- ConstraintEnumerator.cs
- DataGridViewImageColumn.cs
- XmlKeywords.cs
- LabelDesigner.cs
- ProxyAttribute.cs
- TimelineClockCollection.cs
- MessagePropertyDescription.cs
- HtmlInputButton.cs
- ImageFormat.cs
- ToolBarOverflowPanel.cs
- ControlCollection.cs
- FramingChannels.cs
- ToolStripItemDataObject.cs
- MinimizableAttributeTypeConverter.cs
- AmbientLight.cs
- PersonalizationStateInfoCollection.cs
- PathGeometry.cs
- RTLAwareMessageBox.cs
- DecoderExceptionFallback.cs
- ScrollItemProviderWrapper.cs
- CommandExpr.cs
- TimersDescriptionAttribute.cs
- AppSettingsReader.cs
- MemberAccessException.cs
- HttpProfileBase.cs
- DataObjectEventArgs.cs
- _NegoStream.cs
- BaseValidator.cs
- FileSystemInfo.cs
- KeyValueInternalCollection.cs
- brushes.cs
- TypeDescriptionProvider.cs
- AssociationSetEnd.cs
- RuleRefElement.cs
- DataGridViewCellStateChangedEventArgs.cs
- MappingException.cs
- JoinElimination.cs
- Directory.cs
- StringBuilder.cs
- TextDocumentView.cs
- RuntimeCompatibilityAttribute.cs
- ClusterRegistryConfigurationProvider.cs
- CellQuery.cs
- PolicyException.cs
- Duration.cs
- ExecutionEngineException.cs
- Simplifier.cs
- XslTransform.cs
- FacetValueContainer.cs
- _NestedMultipleAsyncResult.cs
- TextLine.cs
- NullableFloatAverageAggregationOperator.cs
- ColorPalette.cs
- HttpCacheVaryByContentEncodings.cs
- TreeNodeConverter.cs
- EventlogProvider.cs
- XmlSortKey.cs
- EnvironmentPermission.cs
- EdmError.cs
- TemplateBindingExpressionConverter.cs
- DataServiceRequest.cs
- ThreadAttributes.cs
- ResponseBodyWriter.cs
- IDReferencePropertyAttribute.cs