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 static AwaitExtensions.TaskSchedulerAwaiter GetAwaiter(
	this TaskScheduler scheduler
)

Parameters

scheduler
Type: System.Threading.Tasks.TaskScheduler

The task scheduler used to execute continuations.

Return to top
Show: