Auf Englisch lesen Bearbeiten

Freigeben über


IAsyncDisposable Interface

Definition

Provides a mechanism for releasing unmanaged resources asynchronously.

C#
public interface IAsyncDisposable
Derived

Remarks

For more information about this API, see Supplemental API remarks for IAsyncDisposable.

Methods

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

Extension Methods

ConfigureAwait(IAsyncDisposable, Boolean)

Configures how awaits on the tasks returned from an async disposable will be performed.

Applies to

Produkt Versionen
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1