AwaitExtensions Class

 

Extension methods and awaitables for .NET.

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

System.Object
  Microsoft.VisualStudio.Threading.AwaitExtensions

public static class AwaitExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetAwaiter(TaskScheduler)

Gets an awaiter that schedules continuations on the specified scheduler.

System_CAPS_pubmethodSystem_CAPS_staticSwitchTo(TaskScheduler, Boolean)

Gets an awaitable that schedules continuations on the specified scheduler.

This type is thread-safe for all members.

Return to top
Show: