共用方式為


ValueTask<TResult>.IsCompletedSuccessfully 屬性

定義

取得值,指出這個物件是否代表已成功完成的作業。

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

屬性值

Boolean

true 如果這個物件代表成功完成的作業,則為 ;否則為 false

適用於