ServiceBusClient.DisposeAsync Method

Definition

Performs the task needed to clean up resources used by the ServiceBusClient, including ensuring that the client itself has been closed.

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

Returns

ValueTask

A task to be resolved on when the operation has completed.

Implements

Applies to