다음을 통해 공유


ProgressReporter.OnWorkCanceled(Object, WorkCanceledEventArgs) Method

Definition

Cancel the ongoing background work in the extension after WorkCanceled event has been triggered.

public void OnWorkCanceled (object? sender, Microsoft.VisualStudio.RpcContracts.ProgressReporting.WorkCanceledEventArgs args);
member this.OnWorkCanceled : obj * Microsoft.VisualStudio.RpcContracts.ProgressReporting.WorkCanceledEventArgs -> unit
Public Sub OnWorkCanceled (sender As Object, args As WorkCanceledEventArgs)

Parameters

sender
Object

Sender.

args
WorkCanceledEventArgs

WorkCancelledEventArgs.

Applies to