IReportingStep.CompleteAsync 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.
Completes the step with the specified completion text and state.
public System.Threading.Tasks.Task CompleteAsync(string completionText, Aspire.Hosting.Pipelines.CompletionState completionState = Aspire.Hosting.Pipelines.CompletionState.Completed, System.Threading.CancellationToken cancellationToken = default);
abstract member CompleteAsync : string * Aspire.Hosting.Pipelines.CompletionState * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CompleteAsync (completionText As String, Optional completionState As CompletionState = Aspire.Hosting.Pipelines.CompletionState.Completed, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- completionText
- String
The completion text for the step.
- completionState
- CompletionState
The completion state for the step.
- cancellationToken
- CancellationToken
The cancellation token.