次の方法で共有


IDistributedApplicationTestingBuilder.BuildAsync(CancellationToken) Method

Definition

Builds and returns a new DistributedApplication instance. This can only be called once.

public System.Threading.Tasks.Task<Aspire.Hosting.DistributedApplication> BuildAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member BuildAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Aspire.Hosting.DistributedApplication>
Public Function BuildAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of DistributedApplication)

Parameters

cancellationToken
CancellationToken

Returns

A new DistributedApplication instance.

Applies to