Task.Run<'TResult> Method (Func<Task<'TResult>>)
Queues the specified work to run on the thread pool and returns a proxy for the Task(TResult) returned by function.
Assembly: mscorlib (in mscorlib.dll)
Return ValueType: System.Threading.Tasks.Task<'TResult>
A Task(TResult) that represents a proxy for the Task(TResult) returned by function.
The type of the result returned by the proxy task.
For information on handling exceptions thrown by task operations, see Exception Handling (Task Parallel Library).
Available since 8
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Available since 8.1