Delen via


IServer.StopAsync(CancellationToken) Method

Definition

Stop processing requests and shut down the server, gracefully if possible.

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

Parameters

cancellationToken
CancellationToken

Indicates if the graceful shutdown should be aborted.

Returns

Applies to