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

Definição

Fornece um aguardador para alternar para um ambiente 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
Herança
YieldAwaitable.YieldAwaiterYieldAwaitable.YieldAwaiterYieldAwaitable.YieldAwaiterYieldAwaitable.YieldAwaiter
Implementações

Comentários

Esse tipo e seus membros destinam-se ao uso pelo compilador.This type and its members are intended for use by the compiler.

Propriedades

IsCompleted IsCompleted IsCompleted IsCompleted

Obtém um valor que indica se uma concessão não é necessária.Gets a value that indicates whether a yield is not required.

Métodos

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

Termina a operação de espera.Ends the await operation.

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

Define a continuação a ser invocada.Sets the continuation to invoke.

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

Posta o continuation de volta para o contexto atual.Posts the continuation back to the current context.

Aplica-se a