INotifyObjectDisposed Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |