Partilhar via


PartitionReceiver.CloseAsync(CancellationToken) Método

Definição

Fecha o cliente.

public virtual System.Threading.Tasks.Task CloseAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member CloseAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CloseAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CloseAsync (Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

cancellationToken
CancellationToken

Uma instância opcional CancellationToken para sinalizar a solicitação para cancelar a operação.

Retornos

Aplica-se a