AwaitExtensions::GetAwaiter Method (TaskScheduler^)

 

Gets an awaiter that schedules continuations on the specified scheduler.

Namespace:   Microsoft.VisualStudio.Threading
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 to top
Show: