Share via


IHostedLifecycleService.StoppedAsync(CancellationToken) Metoda

Definice

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

Parametry

cancellationToken
CancellationToken

Označuje, že proces zastavení byl přerušen.

Návraty

A Task , který představuje asynchronní operaci.

Výjimky

Token zrušení byl zrušen. Tato výjimka je uložena ve vrácené úloze.

Platí pro