語言

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 如果呼叫者已經在該任務排程器上執行。

適用於