Skip to content

ILifecycleObserver.OnStop(CancellationToken)

OnStop(CancellationToken)

abstract
public abstract Task OnStop(CancellationToken cancellationToken = default(CancellationToken))
Handle stop notifications.

Parameters

cancellationTokenCancellationToken
The cancellation token which indicates that the operation should be stopped promptly when it is canceled.

Returns

A System.Threading.Tasks.Task which represents the operation.