共用方式為


ConnectionContext.DisposeAsync 方法

定義

釋放基礎連線的資源。

public:
 virtual System::Threading::Tasks::ValueTask DisposeAsync();
public virtual System.Threading.Tasks.ValueTask DisposeAsync ();
abstract member DisposeAsync : unit -> System.Threading.Tasks.ValueTask
override this.DisposeAsync : unit -> System.Threading.Tasks.ValueTask
Public Overridable Function DisposeAsync () As ValueTask

傳回

ValueTask 會在資源釋出時完成。

實作

適用於