PublishingExtensions.UpdateStatusAsync 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.
Updates the status text of a publishing task.
public static System.Threading.Tasks.Task<Aspire.Hosting.Pipelines.IReportingTask> UpdateStatusAsync(this Aspire.Hosting.Pipelines.IReportingTask task, string statusText, System.Threading.CancellationToken cancellationToken = default);
static member UpdateStatusAsync : Aspire.Hosting.Pipelines.IReportingTask * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Aspire.Hosting.Pipelines.IReportingTask>
<Extension()>
Public Function UpdateStatusAsync (task As IReportingTask, statusText As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReportingTask)
Parameters
- task
- IReportingTask
The task to update.
- statusText
- String
The new status text.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The updated task.