IVsTask::AbortIfCanceled Method ()
Visual Studio 2015
Aborts the task if the task has been cancelled. Use this method to return from a cancelled task.
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Returns S_OK if the task is not cancelled, or returns an error code that should be returned from the task for proper cancellation.
Show: