Jaa


HealthReportEntry Struct

Definition

Represents an entry in a HealthReport. Corresponds to the result of a single IHealthCheck.

public value class HealthReportEntry
public struct HealthReportEntry
type HealthReportEntry = struct
Public Structure HealthReportEntry
Inheritance
HealthReportEntry

Constructors

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

Creates a new HealthReportEntry with the specified values for status, exception, description, and data.

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

Creates a new HealthReportEntry with the specified values for status, exception, description, and data.

Properties

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

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.

Applies to