AsyncDisposableObject Class
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 to be used to implement the lifetime management of another class.
public class AsyncDisposableObject : IAsyncDisposable
type AsyncDisposableObject = class
interface IAsyncDisposable
Public Class AsyncDisposableObject
Implements IAsyncDisposable
- Inheritance
-
AsyncDisposableObject
- Derived
- Implements
Dispose |
Gets a token that signals cancellation when this object is disposed. |
Is |
Gets a value indicating whether the object has been disposed once, protects against double disposal. |
Is |
Gets a value indicating whether the object is in the process of being disposed. |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously. |
Dispose |
Standard virtual overload for IAsyncDisposable pattern. |
Throw |
Throws an ObjectDisposedException if this object has been disposed. |
Disposing |
Raised when the event is being disposed, while it is still accessible. |
Produkt | Versiounen |
---|---|
Visual Studio SDK | 2022 |