Taal

IHostedLifecycleService.StartedAsync(CancellationToken) Methode

Definitie

public:
 System::Threading::Tasks::Task ^ StartedAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task StartedAsync(System.Threading.CancellationToken cancellationToken);
abstract member StartedAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function StartedAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

Geeft aan dat het startproces is afgebroken.

Retouren

Een Task die de asynchrone bewerking vertegenwoordigt.

Uitzonderingen

Het annuleringstoken is geannuleerd. Deze uitzondering wordt opgeslagen in de geretourneerde taak.

Van toepassing op