Delen via


INotifyObjectDisposing 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 being disposed.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Public Interface INotifyObjectDisposing
public interface INotifyObjectDisposing

The INotifyObjectDisposing type exposes the following members.

Properties

  Name Description
Public property IsDisposing Gets whether an object is disposing.

Top

Events

  Name Description
Public event Disposing Occurs when an object is being disposed.

Top

Remarks

When object is being disposed, it can be used to perform clean up tasks such as unsubscribing from event handlers.

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace