HealthReportEntry 结构
定义
表示 HealthReport 中的项。Represents an entry in a HealthReport. 对应于单个 IHealthCheck 的结果。Corresponds to the result of a single IHealthCheck.
public value class HealthReportEntry
public struct HealthReportEntry
type HealthReportEntry = struct
Public Structure HealthReportEntry
- 继承
构造函数
| HealthReportEntry(HealthStatus, String, TimeSpan, Exception, IReadOnlyDictionary<String,Object>) |
使用 |
| HealthReportEntry(HealthStatus, String, TimeSpan, Exception, IReadOnlyDictionary<String,Object>, IEnumerable<String>) |
使用 |
属性
| Data |
获取描述组件运行状况的附加键值对。Gets additional key-value pairs describing the health of the component. |
| Description |
获取检查的组件状态的可读说明。Gets a human-readable description of the status of the component that was checked. |
| Duration |
获取运行状况检查执行持续时间。Gets the health check execution duration. |
| Exception |
获取 Exception,该对象表示检查状态时引发的异常(如果有)。Gets an Exception representing the exception that was thrown when checking for status (if any). |
| Status |
获取检查的组件的运行状况状态。Gets the health status of the component that was checked. |
| Tags |
获取与运行状况检查关联的标记。Gets the tags associated with the health check. |