HubConnection.DisposeAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
HubConnection處置 。
public:
System::Threading::Tasks::Task ^ DisposeAsync();
public System.Threading.Tasks.Task DisposeAsync ();
public System.Threading.Tasks.ValueTask DisposeAsync ();
public virtual System.Threading.Tasks.ValueTask DisposeAsync ();
member this.DisposeAsync : unit -> System.Threading.Tasks.Task
abstract member DisposeAsync : unit -> System.Threading.Tasks.ValueTask
override this.DisposeAsync : unit -> System.Threading.Tasks.ValueTask
Public Function DisposeAsync () As Task
Public Function DisposeAsync () As ValueTask
Public Overridable Function DisposeAsync () As ValueTask
傳回
, ValueTask 表示非同步處置。