Share via


HybridConnectionStream.OnShutdownAsync(CancellationToken) Method

Definition

Derived classes implement shutdown logic in this method.

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

Parameters

cancellationToken
CancellationToken

A cancellation token to observe.

Returns

Applies to