共用方式為


IAsyncDisposable Interface

Defines an asynchronous method to release allocated resources.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Public Interface IAsyncDisposable
public interface IAsyncDisposable
public interface class IAsyncDisposable
type IAsyncDisposable =  interface end
public interface IAsyncDisposable

The IAsyncDisposable type exposes the following members.

Methods

  Name Description
Public method DisposeAsync Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

Top

See Also

Reference

Microsoft.VisualStudio.Threading Namespace