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)

public interface INotifyObjectDisposed

The INotifyObjectDisposed type exposes the following members.

Public propertyIsDisposedGets whether the an object is disposed.

Public eventDisposedOccurs when an object is disposed.

After an object is disposed, it can no longer be used. Any call to its methods or properties will result in a ObjectDisposedException error.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft