共用方式為


AwaitExtensions.TaskSchedulerAwaiter.IsCompleted 屬性

定義

取得值,指出是否需要產生。

public:
 property bool IsCompleted { bool get(); };
public:
 property bool IsCompleted { bool get(); };
public bool IsCompleted { get; }
member this.IsCompleted : bool
Public ReadOnly Property IsCompleted As Boolean

屬性值

true 如果呼叫端已在該 TaskScheduler 上執行,則為 。

適用於