言語

HealthReportEntry 構造体

定義

HealthReport内のエントリを表します。 1 つの IHealthCheckの結果に対応します。

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

コンストラクター

名前 説明
HealthReportEntry(HealthStatus, String, TimeSpan, Exception, IReadOnlyDictionary<String,Object>, IEnumerable<String>)

statusexceptiondescription、およびdataの指定した値を使用して、新しいHealthReportEntryを作成します。

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

statusexceptiondescription、およびdataの指定した値を使用して、新しいHealthReportEntryを作成します。

プロパティ

名前 説明
Data

コンポーネントの正常性を説明する追加のキーと値のペアを取得します。

Description

チェックされたコンポーネントの状態に関する人間が判読できる説明を取得します。

Duration

正常性チェックの実行時間を取得します。

Exception

状態のチェック時にスローされた例外を表す Exception を取得します (存在する場合)。

Status

チェックされたコンポーネントの正常性状態を取得します。

Tags

正常性チェックに関連付けられているタグを取得します。

適用対象