Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

HealthReportSnapshot Constructors

RecordConstructors1 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)
{
// ...
}
}
NamestringThe name of the health check that produced this report.
StatusHealthStatus?The state of the resource, according to the report, or null if a health report has not yet been received for this health check.
Descriptionstring?An optional description of the report, for display.
ExceptionTextstring?An optional string containing exception details.