Share via


IServer.StopAsync(CancellationToken) Metodo

Definizione

Arrestare le richieste di elaborazione e arrestare il server, se possibile.

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

Parametri

cancellationToken
CancellationToken

Indica se l'arresto graziato deve essere interrotto.

Restituisce

Si applica a