IDistributedApplicationPublisher.PublishAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Publishes the specified distributed application model.
public System.Threading.Tasks.Task PublishAsync (Aspire.Hosting.ApplicationModel.DistributedApplicationModel model, System.Threading.CancellationToken cancellationToken);
abstract member PublishAsync : Aspire.Hosting.ApplicationModel.DistributedApplicationModel * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function PublishAsync (model As DistributedApplicationModel, cancellationToken As CancellationToken) As Task
Parameters
The distributed application model to publish.
- cancellationToken
- CancellationToken
Returns
A task that represents the asynchronous operation.