HealthReport 類別

定義

表示一組 IHealthCheck 執行個體的執行結果。

public ref class HealthReport sealed
public sealed class HealthReport
type HealthReport = class
Public NotInheritable Class HealthReport
繼承
HealthReport

建構函式

HealthReport(IReadOnlyDictionary<String,HealthReportEntry>, HealthStatus, TimeSpan)

從指定的結果建立新 HealthReport

HealthReport(IReadOnlyDictionary<String,HealthReportEntry>, TimeSpan)

從指定的結果建立新 HealthReport

屬性

Entries

包含每個健康狀態檢查結果的 IReadOnlyDictionary<TKey,TValue>

Status

取得 HealthStatus,其表示所有健康狀態檢查的彙總狀態。 的值 Status 將會是健康情況檢查所報告的最嚴重狀態。 如果未執行任何檢查,則此值一律為 Healthy

TotalDuration

取得健康狀態檢查服務執行所花的時間。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於