Compartilhar via


IWorkProgressHandler.ReportProgressAsync Method

Definition

A background work running on an extension will report back its progress to VS to show in the Task Status Center.

public System.Threading.Tasks.Task ReportProgressAsync (Guid workId, Microsoft.VisualStudio.RpcContracts.ProgressReporting.ProgressStatus status, System.Threading.CancellationToken cancellationToken);
abstract member ReportProgressAsync : Guid * Microsoft.VisualStudio.RpcContracts.ProgressReporting.ProgressStatus * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ReportProgressAsync (workId As Guid, status As ProgressStatus, cancellationToken As CancellationToken) As Task

Parameters

workId
Guid

Work Id.

status
ProgressStatus

Status of the work progress running on the extension.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task.

Applies to