Share via


IAsyncDisposable Interface

Definition

Defines an asynchronous method to release allocated resources.

public interface class IAsyncDisposable
public interface class IAsyncDisposable
__interface IAsyncDisposable
public interface IAsyncDisposable
type IAsyncDisposable = interface
Public Interface IAsyncDisposable
Derived

Remarks

Consider implementing IAsyncDisposable instead.

Methods

DisposeAsync()

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

Applies to

Thread Safety

This type is thread-safe for all members.