IWorkProgressHandler.CompleteWorkAsync(Guid, CancellationToken) 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 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.