Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Extension methods and awaitables for .NET.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Threading.AwaitExtensions
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class AwaitExtensions
public static class AwaitExtensions
[ExtensionAttribute]
public ref class AwaitExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type AwaitExtensions = class end
public final class AwaitExtensions
The AwaitExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
GetAwaiter | Gets an awaiter that schedules continuations on the specified scheduler. |
![]() ![]() |
SwitchTo | Gets an awaitable that schedules continuations on the specified scheduler. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.