Skip to content
Docs Try Aspire

HealthReportSnapshot Constructors

Record Constructors 1 member
A report produced by a health check about a resource.
Constructor(string, HealthStatus??, string?, string?) Section titled Constructor(string, HealthStatus??, string?, string?)
A report produced by a health check about a resource.
public record HealthReportSnapshot
{
public HealthReportSnapshot(
string Name,
HealthStatus?? Status,
string? Description,
string? ExceptionText)
{
// ...
}
}
Name string The name of the health check that produced this report.
Status HealthStatus?? The state of the resource, according to the report, or null if a health report has not yet been received for this health check.
Description string? An optional description of the report, for display.
ExceptionText string? An optional string containing exception details.