BackgroundService.StartAsync(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

Indicates that the start process has been aborted.

Returns

Implements

Applies to