IHostedService.StartAsync(CancellationToken) IHostedService.StartAsync(CancellationToken) Method

Definition

Triggered when the application host is ready to start the service.

public System.Threading.Tasks.Task StartAsync (System.Threading.CancellationToken cancellationToken);
abstract member StartAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

cancellationToken
CancellationToken CancellationToken

Indicates that the start process has been aborted.

Returns

Applies to