HealthStatus Enum
Definition
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 reported status of a health check result.
public enum class HealthStatus
public enum HealthStatus
type HealthStatus =
Public Enum HealthStatus
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Unhealthy | 0 | Indicates that the health check determined that the component was unhealthy, or an unhandled exception was thrown while executing the health check. |
Degraded | 1 | Indicates that the health check determined that the component was in a degraded state. |
Healthy | 2 | Indicates that the health check determined that the component was healthy. |
Remarks
A status of Unhealthy should be considered the default value for a failing health check. Application developers may configure a health check to report a different status as desired.
The values of this enum or ordered from least healthy to most healthy. So Degraded is greater than Unhealthy but less than Healthy.
Applies to
.NET