Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HealthReport Class

Definition

Namespace:
Microsoft.Extensions.Diagnostics.HealthChecks
Assembly:
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.dll
Package:
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions v11.0.0-preview.5.26302.115
Source:
HealthReport.cs
Source:
HealthReport.cs
Source:
HealthReport.cs
Source:
HealthReport.cs
Source:
HealthReport.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
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

Name Description
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


Feedback

Was this page helpful?