ValueTaskAwaiter<TResult> ValueTaskAwaiter<TResult> ValueTaskAwaiter<TResult> ValueTaskAwaiter<TResult> Struct

Definição

Fornece um awaiter para um ValueTask<TResult>.Provides an awaiter for a ValueTask<TResult>.

generic <typename TResult>
public value class ValueTaskAwaiter : System::Runtime::CompilerServices::ICriticalNotifyCompletion
public struct ValueTaskAwaiter<TResult> : System.Runtime.CompilerServices.ICriticalNotifyCompletion
type ValueTaskAwaiter<'Result> = struct
    interface ICriticalNotifyCompletion
    interface INotifyCompletion
Public Structure ValueTaskAwaiter(Of TResult)
Implements ICriticalNotifyCompletion

Parâmetros de tipo

TResult
Herança
ValueTaskAwaiter<TResult>ValueTaskAwaiter<TResult>ValueTaskAwaiter<TResult>ValueTaskAwaiter<TResult>
Implementações

Propriedades

IsCompleted IsCompleted IsCompleted IsCompleted

Obtém um valor que indica se o ValueTask<TResult> foi concluído.Gets a value that indicates whether the ValueTask<TResult> has completed.

Métodos

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

Obtém o resultado do ValueTask.Gets the result of the ValueTask.

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

Agenda a ação de continuação para este ValueTask<TResult>.Schedules the continuation action for this ValueTask<TResult>.

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

Agenda a ação de continuação para esta ValueTask.Schedules the continuation action for this ValueTask.

Aplica-se a