IVsTask::AbortIfCanceled Method ()

 

Aborts the task if the task has been cancelled. Use this method to return from a cancelled task.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

void AbortIfCanceled()

Returns S_OK if the task is not cancelled, or returns an error code that should be returned from the task for proper cancellation.

Return to top
Show: