Share via


AwaitExtensions.ConfiguredTaskYieldAwaitable Struct

Definition

An awaitable that will always lead the calling async method to yield, then immediately resume, possibly on the original SynchronizationContext.

public: value class AwaitExtensions::ConfiguredTaskYieldAwaitable
public struct AwaitExtensions.ConfiguredTaskYieldAwaitable
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct AwaitExtensions.ConfiguredTaskYieldAwaitable
type AwaitExtensions.ConfiguredTaskYieldAwaitable = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type AwaitExtensions.ConfiguredTaskYieldAwaitable = struct
Public Structure AwaitExtensions.ConfiguredTaskYieldAwaitable
Inheritance
AwaitExtensions.ConfiguredTaskYieldAwaitable
Attributes

Constructors

AwaitExtensions.ConfiguredTaskYieldAwaitable(Boolean)

Initializes a new instance of the AwaitExtensions.ConfiguredTaskYieldAwaitable struct.

Methods

GetAwaiter()

Gets the awaiter.

Applies to