IDisposer Methods |
The IDisposer type exposes the following members.
Name | Description | |
---|---|---|
AddInstanceForAsyncDisposal |
Adds an object to the disposer, where that object implements IAsyncDisposable. When the disposer is
disposed, so will the object be.
You should most likely implement IDisposable as well, and call AddInstanceForDisposal(IDisposable) instead of this method.
| |
AddInstanceForDisposal |
Adds an object to the disposer. When the disposer is
disposed, so will the object be.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
DisposeAsync | (Inherited from IAsyncDisposable.) |