Share via


NullPublishingActivityReporter.CompletePublishAsync Method

Definition

Signals that the entire publishing process has completed.

public System.Threading.Tasks.Task CompletePublishAsync(string? completionMessage = default, Aspire.Hosting.Publishing.CompletionState? completionState = default, bool isDeploy = false, System.Threading.CancellationToken cancellationToken = default);
abstract member CompletePublishAsync : string * Nullable<Aspire.Hosting.Publishing.CompletionState> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CompletePublishAsync : string * Nullable<Aspire.Hosting.Publishing.CompletionState> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CompletePublishAsync (Optional completionMessage As String = Nothing, Optional completionState As Nullable(Of CompletionState) = Nothing, Optional isDeploy As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

completionMessage
String

The completion message of the publishing process.

completionState
Nullable<CompletionState>

The completion state of the publishing process. When null, the state is automatically aggregated from all steps.

isDeploy
Boolean

Whether this is a deployment operation rather than a publishing operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Implements

Applies to