Partager via


IWorkProgressHandler.CompleteWorkAsync(Guid, CancellationToken) Method

Definition

A background work running on an extension will call this method to signal to VS that the work has completed.

public System.Threading.Tasks.Task CompleteWorkAsync (Guid workId, System.Threading.CancellationToken cancellationToken);
abstract member CompleteWorkAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CompleteWorkAsync (workId As Guid, cancellationToken As CancellationToken) As Task

Parameters

workId
Guid

Work Id.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task.

Applies to