IVsTaskCompletionSource Methods
Visual Studio 2015
Namespace:
Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
| Name | Description | |
|---|---|---|
![]() | AddDependentTask(IVsTask^) | Adds the specified task to the task completion sources dependent task list. Then if Wait is called on IVsTaskCompletionSource.Task, the UI can be unblocked correctly. |
![]() | SetCanceled() | Sets the task owned by this source to cancelled state, also cancelling the task. |
![]() | SetFaulted(Int32) | Sets the task owned by this source to the faulted state (with the given HRESULT code). |
![]() | SetResult(Object^) | Sets the task owned by this source to completed state with the result. |
Show:
