Zdieľať cez


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.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to