Struct HealthStatus
Structure describing the status of executing all the health checks operations.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace:App.Metrics.Health
Assembly:cs.temp.dll.dll
Syntax
public struct HealthStatus
Constructors
HealthStatus(IEnumerable<HealthCheck.Result>)
Declaration
public HealthStatus(IEnumerable<HealthCheck.Result> results)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<HealthCheck.Result> | results |
Properties
HasRegisteredChecks
Gets a value indicating whether this health checks have registered checks.
Declaration
public bool HasRegisteredChecks { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Results
Gets result of each health check operation
Declaration
public HealthCheck.Result[] Results { get; }
Property Value
Type | Description |
---|---|
HealthCheck.Result[] | The health check results. |
Status
Gets all health checks passed.
Declaration
public HealthCheckStatus Status { get; }
Property Value
Type | Description |
---|---|
HealthCheckStatus | The status. |