IPipelineActivityReporter Methods
InterfaceMethods4 members
Interface for reporting publishing activities.
CompletePublishAsync(PublishCompletionOptions?, CancellationToken) Section titled CompletePublishAsync(PublishCompletionOptions?, CancellationToken)abstractTask Signals that the entire publishing process has completed.
public interface IPipelineActivityReporter{ public abstract Task CompletePublishAsync( PublishCompletionOptions? options = null, CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
optionsPublishcancellationToken CancellationToken optionalThe cancellation token.CompletePublishAsync(string?, CompletionState?, CancellationToken) Section titled CompletePublishAsync(string?, CompletionState?, CancellationToken)abstractTask 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)) { // ... }}Parameters
completionMessage string?optionalThe completion message of the publishing process.completionState CompletioncancellationToken CancellationToken optionalThe cancellation token.CreateStepAsync(string, CancellationToken) Section titled CreateStepAsync(string, CancellationToken)abstractTask Creates a new publishing step with the specified title.
public interface IPipelineActivityReporter{ public abstract Task<IReportingStep> CreateStepAsync( string title, CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
titlestringThe title of the publishing step.cancellationToken CancellationToken optionalThe cancellation token.Returns
Task<IReportingStep> The publishing stepCreateStepAsync(string, string?, int, CancellationToken) Section titled CreateStepAsync(string, string?, int, CancellationToken)virtualTask Creates a new publishing step with optional hierarchy metadata.
public interface IPipelineActivityReporter{ public virtual Task<IReportingStep> CreateStepAsync( string title, string? parentStepId, int hierarchyLevel, CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
titlestringThe title of the publishing step.parentStepId string?An optional identifier for the parent step.hierarchyLevel intThe hierarchy level for display.cancellationToken CancellationToken optionalThe cancellation token.Returns
Task<IReportingStep> The publishing step.