Share via


HubConnection.DisposeAsync Method

Definition

Disposes the 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

Returns

A ValueTask that represents the asynchronous dispose.

Implements

Applies to