Struct HealthReportEntry
- Namespace
 - Acuit.Pinpoint.HealthChecks
 
- Assembly
 - Acuit.Pinpoint.HealthChecks.dll
 
Represents an entry in a HealthReport. Corresponds to the result of a single IHealthCheck.
public readonly struct HealthReportEntry
  - Inherited Members
 
Constructors
HealthReportEntry(HealthStatus, string, TimeSpan, Exception)
Creates a new HealthReportEntry with the specified values for status, exception,
and description.
public HealthReportEntry(HealthStatus status, string description, TimeSpan duration, Exception exception)
  Parameters
statusHealthStatusA value indicating the health status of the component that was checked.
descriptionstringA human-readable description of the status of the component that was checked.
durationTimeSpanA value indicating the health execution duration.
exceptionExceptionAn Exception representing the exception that was thrown when checking for status (if any).
Properties
Description
Gets a human-readable description of the status of the component that was checked.
public string Description { get; }
  Property Value
Duration
Gets the health check execution duration.
public TimeSpan Duration { get; }
  Property Value
Exception
Gets an Exception representing the exception that was thrown when checking for status (if any).
public Exception Exception { get; }
  Property Value
Status
Gets the health status of the component that was checked.
public HealthStatus Status { get; }