IAsyncDisposable Interface
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.
Provides a mechanism for releasing unmanaged resources asynchronously.
public interface class IAsyncDisposable
public interface IAsyncDisposable
type IAsyncDisposable = interface
Public Interface IAsyncDisposable
- Derived
For more information about this API, see Supplemental API remarks for IAsyncDisposable.
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously. |
Configure |
Configures how awaits on the tasks returned from an async disposable will be performed. |
Product | Versions |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Standard | 2.0 (package-provided), 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: