Skip to content
Docs Try Aspire
Docs Try

PipelineContext

Handle
📦 Aspire.Hosting v13.4.0
interface PipelineContext {
cancellationToken: cancellationToken;
readonly executionContext: DistributedApplicationExecutionContext;
readonly logger: ILogger;
readonly model: DistributedApplicationModel;
readonly services: IServiceProvider;
readonly summary: PipelineSummary;
}

Properties

property cancellationToken cancellationToken get · set
Gets the cancellation token for the pipeline operation.
property executionContext DistributedApplicationExecutionContext get
Gets the execution context for the distributed application.
property logger ILogger get
Gets the logger for pipeline operations.
property model DistributedApplicationModel get
Gets the distributed application model to be deployed.
property services IServiceProvider get
Gets the service provider for dependency resolution.
property summary PipelineSummary get
Gets the pipeline summary that steps can add information to. The summary will be displayed to users after pipeline execution completes.