Taal

IHostedLifecycleService.StartingAsync(CancellationToken) Methode

Definitie

Geactiveerd vóór StartAsync(CancellationToken).

public:
 System::Threading::Tasks::Task ^ StartingAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task StartingAsync(System.Threading.CancellationToken cancellationToken);
abstract member StartingAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function StartingAsync (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