INotifyObjectDisposed Interface
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
A class implementing this interface notifies you when an object is disposed.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Public Interface INotifyObjectDisposed
public interface INotifyObjectDisposed
The INotifyObjectDisposed type exposes the following members.
Properties
Name | Description | |
---|---|---|
IsDisposed | Gets whether the an object is disposed. |
Top
Events
Name | Description | |
---|---|---|
Disposed | Occurs when an object is disposed. |
Top
Remarks
After an object is disposed, it can no longer be used. Any call to its methods or properties will result in a ObjectDisposedException error.