Dela via


IPublishingTask Interface

Definition

Represents a publishing task, which belongs to a step.

public interface IPublishingTask : IAsyncDisposable
type IPublishingTask = interface
    interface IAsyncDisposable
Public Interface IPublishingTask
Implements IAsyncDisposable
Implements

Methods

CompleteAsync(String, CompletionState, CancellationToken)

Completes the task with the specified completion message.

UpdateAsync(String, CancellationToken)

Updates the status text of this task.

Extension Methods

FailAsync(IPublishingTask, String, CancellationToken)

Completes a publishing task with an error.

SucceedAsync(IPublishingTask, String, CancellationToken)

Completes a publishing task successfully.

UpdateStatusAsync(IPublishingTask, String, CancellationToken)

Updates the status text of a publishing task.

WarnAsync(IPublishingTask, String, CancellationToken)

Completes a publishing task with a warning.

Applies to