IWorkProgressHandler.ReportProgressAsync 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.
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.