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