Del via


HealthReport Class

Definition

Represents the result of executing a group of IHealthCheck instances.

public ref class HealthReport sealed
public sealed class HealthReport
type HealthReport = class
Public NotInheritable Class HealthReport
Inheritance
HealthReport

Constructors

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

Create a new HealthReport from the specified results.

HealthReport(IReadOnlyDictionary<String,HealthReportEntry>, TimeSpan)

Create a new HealthReport from the specified results.

Properties

Entries

A IReadOnlyDictionary<TKey,TValue> containing the results from each health check.

Status

Gets a HealthStatus representing the aggregate status of all the health checks. The value of Status will be the most severe status reported by a health check. If no checks were executed, the value is always Healthy.

TotalDuration

Gets the time the health check service took to execute.

Applies to