ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter 結構

定義

ConfiguredValueTaskAwaitable 提供 awaiter。Provides an awaiter for a ConfiguredValueTaskAwaitable.

public: value class ConfiguredValueTaskAwaitable::ConfiguredValueTaskAwaiter : System::Runtime::CompilerServices::ICriticalNotifyCompletion
public struct ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion
type ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter = struct
    interface ICriticalNotifyCompletion
    interface INotifyCompletion
Public Structure ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter
Implements ICriticalNotifyCompletion
繼承
ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter
實作

屬性

IsCompleted

取得值,指出 ConfiguredValueTaskAwaitable 是否已完成。Gets a value that indicates whether the ConfiguredValueTaskAwaitable has completed.

方法

GetResult()

取得 ValueTask 的結果。Gets the result of the ValueTask.

OnCompleted(Action)

排程 ConfiguredValueTaskAwaitable 的接續動作。Schedules the continuation action for the ConfiguredValueTaskAwaitable.

UnsafeOnCompleted(Action)

排程 ConfiguredValueTaskAwaitable 的接續動作。Schedules the continuation action for the ConfiguredValueTaskAwaitable.

適用於