DeployingContext Constructor
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.
Provides contextual information and services for the deploying process of a distributed application.
public DeployingContext(Aspire.Hosting.ApplicationModel.DistributedApplicationModel model, Aspire.Hosting.DistributedApplicationExecutionContext executionContext, IServiceProvider serviceProvider, Microsoft.Extensions.Logging.ILogger logger, System.Threading.CancellationToken cancellationToken, string outputPath);
new Aspire.Hosting.ApplicationModel.DeployingContext : Aspire.Hosting.ApplicationModel.DistributedApplicationModel * Aspire.Hosting.DistributedApplicationExecutionContext * IServiceProvider * Microsoft.Extensions.Logging.ILogger * System.Threading.CancellationToken * string -> Aspire.Hosting.ApplicationModel.DeployingContext
Public Sub New (model As DistributedApplicationModel, executionContext As DistributedApplicationExecutionContext, serviceProvider As IServiceProvider, logger As ILogger, cancellationToken As CancellationToken, outputPath As String)
Parameters
The distributed application model to be deployed.
- executionContext
- DistributedApplicationExecutionContext
The execution context for the distributed application.
- serviceProvider
- IServiceProvider
The service provider for dependency resolution.
- logger
- ILogger
The logger for deploying operations.
- cancellationToken
- CancellationToken
The cancellation token for the deploying operation.
- outputPath
- String
The output path for deployment artifacts.