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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.