IPipelineActivityReporter.CompletePublishAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Signals that the entire publishing process has completed.
public System.Threading.Tasks.Task CompletePublishAsync(string? completionMessage = default, Aspire.Hosting.Pipelines.CompletionState? completionState = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CompletePublishAsync : string * Nullable<Aspire.Hosting.Pipelines.CompletionState> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CompletePublishAsync (Optional completionMessage As String = Nothing, Optional completionState As Nullable(Of CompletionState) = Nothing, 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.
- cancellationToken
- CancellationToken
The cancellation token.