HealthReportEntry 結構

定義

表示 HealthReport 中的項目。 對應至單一 IHealthCheck 的結果。

public value class HealthReportEntry
public struct HealthReportEntry
type HealthReportEntry = struct
Public Structure HealthReportEntry
繼承
HealthReportEntry

建構函式

HealthReportEntry(HealthStatus, String, TimeSpan, Exception, IReadOnlyDictionary<String,Object>)

使用指定的 statusexceptiondescriptiondata 的值來建立新 HealthReportEntry

HealthReportEntry(HealthStatus, String, TimeSpan, Exception, IReadOnlyDictionary<String,Object>, IEnumerable<String>)

使用指定的 statusexceptiondescriptiondata 的值來建立新 HealthReportEntry

屬性

Data

取得描述元件健康狀態的其他索引鍵/值組。

Description

取得可供人員閱讀的已檢查元件狀態描述。

Duration

取得健康狀態檢查執行持續時間。

Exception

取得代表檢查狀態時擲回之例外狀況的 Exception (如有)。

Status

取得所檢查元件的健康狀態。

Tags

取得與健康狀態檢查建立關聯的標記。

適用於