แก้ไข

แชร์ผ่าน


ConfiguredValueTaskAwaitable<TResult>.ConfiguredValueTaskAwaiter Struct

Definition

Provides an awaiter for a ConfiguredValueTaskAwaitable<TResult>.

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

Type Parameters

TResult

The type of the result produced by the task.

Inheritance
ConfiguredValueTaskAwaitable<TResult>.ConfiguredValueTaskAwaiter
Implements

Properties

IsCompleted

Gets a value that indicates whether the ConfiguredValueTaskAwaitable<TResult> has completed.

Methods

GetResult()

Gets the result of the ValueTask<TResult>.

OnCompleted(Action)

Schedules the continuation action for the ConfiguredValueTaskAwaitable<TResult>.

UnsafeOnCompleted(Action)

Schedules the continuation action for the ConfiguredValueTaskAwaitable<TResult>.

Applies to