Condividi tramite


AwaitExtensions.TaskSchedulerAwaitable Struct

Definition

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.