共用方式為


Task.IsCompletedSuccessfully 屬性

定義

取得工作是否執行到完成。

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

屬性值

true 如果工作執行完成,則為 ;否則為 false

適用於