YieldAwaitable.YieldAwaiter YieldAwaitable.YieldAwaiter YieldAwaitable.YieldAwaiter YieldAwaitable.YieldAwaiter Struct

Definition

Provides an awaiter for switching into a target environment.

public: value class YieldAwaitable::YieldAwaiter : System::Runtime::CompilerServices::ICriticalNotifyCompletion
public struct YieldAwaitable.YieldAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion
type YieldAwaitable.YieldAwaiter = struct
    interface ICriticalNotifyCompletion
    interface INotifyCompletion
Public Structure YieldAwaitable.YieldAwaiter
Implements ICriticalNotifyCompletion
Inheritance
YieldAwaitable.YieldAwaiterYieldAwaitable.YieldAwaiterYieldAwaitable.YieldAwaiterYieldAwaitable.YieldAwaiter
Implements

Remarks

This type and its members are intended for use by the compiler.

Properties

IsCompleted IsCompleted IsCompleted IsCompleted

Gets a value that indicates whether a yield is not required.

Methods

GetResult() GetResult() GetResult() GetResult()

Ends the await operation.

OnCompleted(Action) OnCompleted(Action) OnCompleted(Action) OnCompleted(Action)

Sets the continuation to invoke.

UnsafeOnCompleted(Action) UnsafeOnCompleted(Action) UnsafeOnCompleted(Action) UnsafeOnCompleted(Action)

Posts the continuation back to the current context.

Applies to