Table of Contents

StopAsync Method

Definition

Namespace
Codebelt.Bootstrapper.Console
Assemblies
Codebelt.Bootstrapper.Console.dll
Source
src/Codebelt.Bootstrapper.Console/ConsoleHostedService.cs

StopAsync(CancellationToken)

Triggered when the application host is performing a graceful shutdown.

public Task StopAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Indicates that the shutdown process should no longer be graceful.

Returns

Task

A Task that represents the asynchronous operation.