IServer.StopAsync(CancellationToken) Metoda

Definice

Pokud je to možné, ukončete zpracování požadavků a vypněte server.

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

Parametry

cancellationToken
CancellationToken

Označuje, jestli se má řádné vypnutí přerušit.

Návraty

Platí pro