PipelineContext 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 pipeline execution process of a distributed application.
public PipelineContext(Aspire.Hosting.ApplicationModel.DistributedApplicationModel model, Aspire.Hosting.DistributedApplicationExecutionContext executionContext, IServiceProvider serviceProvider, Microsoft.Extensions.Logging.ILogger logger, System.Threading.CancellationToken cancellationToken);
new Aspire.Hosting.Pipelines.PipelineContext : Aspire.Hosting.ApplicationModel.DistributedApplicationModel * Aspire.Hosting.DistributedApplicationExecutionContext * IServiceProvider * Microsoft.Extensions.Logging.ILogger * System.Threading.CancellationToken -> Aspire.Hosting.Pipelines.PipelineContext
Public Sub New (model As DistributedApplicationModel, executionContext As DistributedApplicationExecutionContext, serviceProvider As IServiceProvider, logger As ILogger, cancellationToken As CancellationToken)
Parameters
The distributed application model the pipeline is running against.
- executionContext
- DistributedApplicationExecutionContext
The execution context for the distributed application.
- serviceProvider
- IServiceProvider
The service provider for dependency resolution.
- logger
- ILogger
The logger for pipeline operations.
- cancellationToken
- CancellationToken
The cancellation token for the pipeline operation.