Skip to content
Docs Try Aspire

IPipelineActivityReporter Methods

Interface Methods 2 members
Interface for reporting publishing activities.
CompletePublishAsync(string?, CompletionState?, CancellationToken) Section titled CompletePublishAsync(string?, CompletionState?, CancellationToken) abstract Task
Signals that the entire publishing process has completed.
public interface IPipelineActivityReporter
{
public abstract Task CompletePublishAsync(
string? completionMessage = null,
CompletionState? completionState = null,
CancellationToken cancellationToken = default(CancellationToken))
{
// ...
}
}
completionMessage string? optional The completion message of the publishing process.
completionState CompletionState? optional The completion state of the publishing process. When null, the state is automatically aggregated from all steps.
cancellationToken CancellationToken optional The cancellation token.
CreateStepAsync(string, CancellationToken) Section titled CreateStepAsync(string, CancellationToken) abstract Task<IReportingStep>
Creates a new publishing step with the specified title.
public interface IPipelineActivityReporter
{
public abstract Task<IReportingStep> CreateStepAsync(
string title,
CancellationToken cancellationToken = default(CancellationToken))
{
// ...
}
}
title string The title of the publishing step.
cancellationToken CancellationToken optional The cancellation token.
Task<IReportingStep> The publishing step