VsInvokableAsyncFunction<T> Delegate
Visual Studio 2015
Used by the asynchronous task library helper to take an IVsTaskCompletionSource and return a Task Parallel Library (TPL) task.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- tcs
-
Type:
Microsoft.VisualStudio.Shell.Interop.IVsTaskCompletionSource
The task completion source.
Type Parameters
- T
The type of the result produced by this task.
This delegate converts a returning System.Threading.Tasks.Task function to return an IVsTask instead. The delegate is provided by the caller and is used to return the System.Threading.Tasks.Task instance that would be converted to IVsTask.
Show: