KestrelServer.StopAsync(CancellationToken) Metodo

Definizione

Interrompere l'elaborazione delle richieste e arrestare il server, se possibile.

public:
 virtual 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
override this.StopAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function StopAsync (cancellationToken As CancellationToken) As Task

Parametri

cancellationToken
CancellationToken

Indica se l'arresto normale deve essere interrotto.

Restituisce

Implementazioni

Si applica a