INotifyObjectDisposed Interface

Definition

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

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

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.

Properties

IsDisposed

Gets whether the an object is disposed.

Events

Disposed

Occurs when an object is disposed.

Applies to