Skip to content

Class HealthCheckStatusStore

Namespace: Momentum.ServiceDefaults.HealthChecks
Assembly: Momentum.ServiceDefaults.dll

Stores the last known health check status for the application.

csharp
public class HealthCheckStatusStore

Inheritance

objectHealthCheckStatusStore

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Remarks

This store is typically used to track the application's health status across multiple health check executions, allowing components to react to health status changes or query the last known state without triggering a new health check.

Constructors

HealthCheckStatusStore()

csharp
public HealthCheckStatusStore()

Properties

LastHealthStatus

Gets or sets the last recorded health status.

csharp
public HealthStatus LastHealthStatus { get; set; }

Property Value

HealthStatus