共用方式為


DistributedApplication.IHost.StartAsync(CancellationToken) Method

Definition

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

Parameters

cancellationToken
CancellationToken

Returns

Implements

Applies to