Share via


INotifyObjectDisposing Interface

Definition

A class implementing this interface notifies you when an object is being disposed.

public interface class INotifyObjectDisposing
public interface INotifyObjectDisposing
type INotifyObjectDisposing = interface
Public Interface INotifyObjectDisposing
Derived

Remarks

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

Properties

IsDisposing

Gets whether an object is disposing.

Events

Disposing

Occurs when an object is being disposed.

Applies to