Compartilhar via


HybridConnectionStream.OnShutdownAsync(CancellationToken) Método

Definição

Classes derivadas implementam a lógica de desligamento neste método.

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

Parâmetros

cancellationToken
CancellationToken

Um token de cancelamento a ser observado.

Retornos

Aplica-se a