ProgressReporter.OnWorkCanceled(Object, WorkCanceledEventArgs) 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.
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.
WorkCancelledEventArgs.