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

Definición

Proporciona un elemento que ejecuta await para el cambio a un entorno de destino.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
Herencia
YieldAwaitable.YieldAwaiterYieldAwaitable.YieldAwaiterYieldAwaitable.YieldAwaiterYieldAwaitable.YieldAwaiter
Implementaciones

Comentarios

Este tipo y sus miembros están pensados para su uso por parte del compilador.This type and its members are intended for use by the compiler.

Propiedades

IsCompleted IsCompleted IsCompleted IsCompleted

Obtiene un valor que indica si un campo no se requiere.Gets a value that indicates whether a yield is not required.

Métodos

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

Termina la operación de espera.Ends the await operation.

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

Establece la continuación que se va a invocar.Sets the continuation to invoke.

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

Vuelve a publicar continuation en el contexto actual.Posts the continuation back to the current context.

Se aplica a