AwaitExtensions.TaskSchedulerAwaitable Structure
An awaitable that executes continuations on the specified task scheduler.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Structure TaskSchedulerAwaitable
public struct TaskSchedulerAwaitable
public value class TaskSchedulerAwaitable
[<Sealed>]
type TaskSchedulerAwaitable = struct end
JScript supports the use of structures, but not the declaration of new ones.
The AwaitExtensions.TaskSchedulerAwaitable type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AwaitExtensions.TaskSchedulerAwaitable | Initializes a new instance of the TaskSchedulerAwaitable. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetAwaiter | Gets an awaitable that schedules continuations on the specified scheduler. | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
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.