Task.IsCompletedSuccessfully 属性

定义

了解任务是否运行到完成。

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

属性值

Boolean

true 如果任务已运行完成,则为否则 false

适用于