AwaitExtensions.TaskSchedulerAwaitable Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An awaitable that executes continuations on the specified task scheduler.
public: value class AwaitExtensions::TaskSchedulerAwaitable
struct AwaitExtensions::TaskSchedulerAwaitable
public struct AwaitExtensions.TaskSchedulerAwaitable
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct AwaitExtensions.TaskSchedulerAwaitable
type AwaitExtensions.TaskSchedulerAwaitable = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type AwaitExtensions.TaskSchedulerAwaitable = struct
Public Structure AwaitExtensions.TaskSchedulerAwaitable
- Inheritance
-
AwaitExtensions.TaskSchedulerAwaitable
- Attributes
Constructors
AwaitExtensions.TaskSchedulerAwaitable(TaskScheduler, Boolean) |
Initializes a new instance of the AwaitExtensions.TaskSchedulerAwaitable struct. |
Methods
GetAwaiter() |
Gets an awaitable that schedules continuations on the specified scheduler. |
Applies to
Thread Safety
This type is thread-safe for all members.