Compartilhar via


HybridConnectionStream.OnCloseAsync(CancellationToken) Método

Definição

Classes derivadas implementam lógica de fechamento nesse método.

protected abstract System.Threading.Tasks.Task OnCloseAsync (System.Threading.CancellationToken cancellationToken);
abstract member OnCloseAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected MustOverride Function OnCloseAsync (cancellationToken As CancellationToken) As Task

Parâmetros

cancellationToken
CancellationToken

Um token de cancelamento a ser observado.

Retornos

Aplica-se a