Прочетете на английски

Споделяне чрез


HealthReport Class

Definition

Represents the result of executing a group of IHealthCheck instances.

C#
public sealed class HealthReport
Inheritance
HealthReport

Constructors

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

Продукт Версии
.NET 10 (package-provided)
.NET Standard 2.0 (package-provided)