VsTaskLibraryHelper::AsVsTask<T> Method (JoinableTask<T>^)
Visual Studio 2015
Wraps a JoinableTask<T> instance in an IVsTask that can be returned to COM clients.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: generic<typename T> [ExtensionAttribute] static IVsTask^ AsVsTask( JoinableTask<T>^ joinableTask )
Parameters
- joinableTask
-
Type:
Microsoft.VisualStudio.Threading::JoinableTask<T>^
The task to wrap.
Type Parameters
- T
The type of value returned by the asynchronous operation.
Show: