IWebHost.StopAsync(CancellationToken) IWebHost.StopAsync(CancellationToken) Method

Definition

Attempt to gracefully stop the host.

public System.Threading.Tasks.Task StopAsync (System.Threading.CancellationToken cancellationToken = null);
abstract member StopAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

Returns

Applies to