共用方式為


DistributedApplication.IHost.StopAsync(CancellationToken) Method

Definition

System.Threading.Tasks.Task IHost.StopAsync (System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.Extensions.Hosting.IHost.StopAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.Microsoft.Extensions.Hosting.IHost.StopAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Function StopAsync (cancellationToken As CancellationToken) As Task Implements IHost.StopAsync

Parameters

cancellationToken
CancellationToken

Returns

Implements

Applies to