AwaitExtensions::TaskSchedulerAwaitable Constructor (TaskScheduler^, Boolean)
Visual Studio 2015
Initializes a new instance of the TaskSchedulerAwaitable.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Parameters
- taskScheduler
-
Type:
System.Threading.Tasks::TaskScheduler^
The task scheduler used to execute continuations.
- alwaysYield
-
Type:
System::Boolean
A value indicating whether the caller should yield even if already executing on the desired task scheduler.
Show: