Share via


EventHubConsumerClient.DisposeAsync Method

Definition

Performs the task needed to clean up resources used by the EventHubConsumerClient, 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

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

Implements

Applies to