IPipelineActivityReporter.CreateStepAsync(String, CancellationToken) Method

Definition

Creates a new publishing step with the specified title.

public System.Threading.Tasks.Task<Aspire.Hosting.Pipelines.IReportingStep> CreateStepAsync(string title, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateStepAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Aspire.Hosting.Pipelines.IReportingStep>
Public Function CreateStepAsync (title As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReportingStep)

Parameters

title
String

The title of the publishing step.

cancellationToken
CancellationToken

The cancellation token.

Returns

The publishing step

Applies to