共用方式為


HttpConnection.DisposeAsync 方法

定義

處置連線。

public:
 System::Threading::Tasks::Task ^ DisposeAsync();
public:
 override System::Threading::Tasks::ValueTask DisposeAsync();
public System.Threading.Tasks.Task DisposeAsync ();
public override System.Threading.Tasks.ValueTask DisposeAsync ();
member this.DisposeAsync : unit -> System.Threading.Tasks.Task
override this.DisposeAsync : unit -> System.Threading.Tasks.ValueTask
Public Function DisposeAsync () As Task
Public Overrides Function DisposeAsync () As ValueTask

傳回

Task 表示非同步處置。

備註

連線停止之後無法重新開機。 若要重新開機連線,應該使用相同的選項來建立新的實例。

適用於