AwaitExtensions::GetAwaiter Method (TaskScheduler^)
Visual Studio 2015
Gets an awaiter that schedules continuations on the specified scheduler.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
public: [ExtensionAttribute] static AwaitExtensions::TaskSchedulerAwaiter GetAwaiter( TaskScheduler^ scheduler )
Parameters
- scheduler
-
Type:
System.Threading.Tasks::TaskScheduler^
The task scheduler used to execute continuations.
Return Value
Type: Microsoft.VisualStudio.Threading::AwaitExtensions::TaskSchedulerAwaiter
Show: