Bagikan melalui


INotifyObjectDisposed Interface

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
Public property IsDisposed Gets whether the an object is disposed.

Top

Events

  Name Description
Public event 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.

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace