Table of Contents

Method StopAsync

Namespace
Oscova.Agents.Tasks
Assembly
Oscova.Agents.dll

StopAsync(CancellationToken)

Triggered when the application host is performing a graceful shutdown.

public override Task StopAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Indicates that the shutdown process should no longer be graceful.

Returns

Task

A System.Threading.Tasks.Task that represents the asynchronous Stop operation.