Compartir a través de


AwaitExtensions.TaskSchedulerAwaitable.GetAwaiter Method

Gets an awaitable that schedules continuations on the specified scheduler.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Public Function GetAwaiter As AwaitExtensions.TaskSchedulerAwaiter
public AwaitExtensions.TaskSchedulerAwaiter GetAwaiter()
public:
AwaitExtensions::TaskSchedulerAwaiter GetAwaiter()
member GetAwaiter : unit -> AwaitExtensions.TaskSchedulerAwaiter
public function GetAwaiter() : AwaitExtensions.TaskSchedulerAwaiter

Return Value

Type: Microsoft.VisualStudio.Threading.AwaitExtensions.TaskSchedulerAwaiter
Returns AwaitExtensions.TaskSchedulerAwaiter.

.NET Framework Security

See Also

Reference

AwaitExtensions.TaskSchedulerAwaitable Structure

Microsoft.VisualStudio.Threading Namespace