ValueTask.IsCompletedSuccessfully 属性

定义

获取指示此对象是否表示成功完成的操作的值。

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

属性值

true 如果此对象表示成功完成的操作,则为 ;否则为 false

适用于