Compartilhar via


HybridConnectionStream.CloseAsync(CancellationToken) Método

Definição

Fecha essa HybridConnectionStream instância de forma assíncrona usando um CancellationToken.

public System.Threading.Tasks.Task CloseAsync (System.Threading.CancellationToken cancellationToken);
member this.CloseAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CloseAsync (cancellationToken As CancellationToken) As Task

Parâmetros

cancellationToken
CancellationToken

Um token de cancelamento a ser observado.

Retornos

Aplica-se a