ValueTask.IsFaulted 屬性

定義

取得值,指出這個物件是否代表失敗的作業。

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

屬性值

true 如果這個物件代表失敗的作業,則為 ;否則為 false

適用於