Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.
.gif)
.gif)