HealthReportSnapshot
Record sealed net10.0
A report produced by a health check about a resource.
namespace Aspire.Hosting.ApplicationModel;
public sealed record HealthReportSnapshot : System.IEquatable<Aspire.Hosting.ApplicationModel.HealthReportSnapshot>{ // ...} IEquatable<HealthReportSnapshot>
14 members
Constructors1
Section titled ConstructorsProperties5
Section titled PropertiesDescriptionget; initstring?An optional description of the report, for display.
ExceptionTextget; initstring?An optional string containing exception details.
LastRunAtget; initDateTime? The timestamp when this health check was last executed, or
null if not available. Nameget; initstringThe name of the health check that produced this report.
Statusget; initHealthStatus??The state of the resource, according to the report, or
null if a health report has not yet been received for this health check.Methods8
Section titled Methods<Clone>$Deconstruct(string, HealthStatus??, string?, string?)Equals(object?)boolDetermines whether the specified object is equal to the current object.
Equals(HealthReportSnapshot?)boolIndicates whether the current object is equal to another object of the same type.
GetHashCodeintServes as the default hash function.
op_Equality(HealthReportSnapshot?, HealthReportSnapshot?)staticboolop_Inequality(HealthReportSnapshot?, HealthReportSnapshot?)staticboolToStringstringReturns a string that represents the current object.