JoinableTaskFactory.Run(Of T) Method (Func(Of Task(Of T)))
Visual Studio 2015
Runs the specified asynchronous method.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Parameters
- asyncMethod
-
Type:
System.Func(Of Task(Of T))
The asynchronous method to execute.
Return Value
Type: TThe value returned by the asynchronous method.
Type Parameters
- T
The type of value returned by the asynchronous method.
Show: