ValueTask.IsFaulted 属性
定义
获取指示此对象是否表示失败的操作的值。Gets a value that indicates whether this object represents a failed operation.
public:
property bool IsFaulted { bool get(); };
public bool IsFaulted { get; }
member this.IsFaulted : bool
Public ReadOnly Property IsFaulted As Boolean
属性值
true 如果此对象表示失败的操作,则为; 否则为。否则为 false 。true if this object represents a failed operation; otherwise, false.