Skip to content
Docs Try Aspire

PipelineStepContext Properties

Class Properties 7 members
Provides contextual information for a specific pipeline step execution.
CancellationToken Section titled CancellationToken CancellationToken
Gets the cancellation token for the pipeline operation.
public CancellationToken CancellationToken { get; }
Gets the execution context for the distributed application.
public DistributedApplicationExecutionContext ExecutionContext { get; }
Gets the logger for pipeline operations that writes to both the pipeline logger and the step logger.
public ILogger Logger { get; }
Gets the distributed application model to be deployed.
public DistributedApplicationModel Model { get; }
Gets the pipeline context shared across all steps.
public PipelineContext PipelineContext { get; init; }
Gets the publishing step associated with this specific step execution.
public IReportingStep ReportingStep { get; init; }
Services Section titled Services IServiceProvider
Gets the service provider for dependency resolution.
public IServiceProvider Services { get; }