Skip to content
DocsTry Aspire
DocsTry

HealthReportSnapshot Methods

RecordMethods8 members
A report produced by a health check about a resource.
public record HealthReportSnapshot
{
public HealthReportSnapshot <Clone>$()
{
// ...
}
}
Deconstruct(string, HealthStatus??, string?, string?)Section titled Deconstruct(string, HealthStatus??, string?, string?)
public record HealthReportSnapshot
{
public void Deconstruct(
out string Name,
out HealthStatus?? Status,
out string? Description,
out string? ExceptionText)
{
// ...
}
}
Namestring
StatusHealthStatus??
Descriptionstring?
ExceptionTextstring?
Equals(object?)Section titled Equals(object?)overridebool
Determines whether the specified object is equal to the current object.
public record HealthReportSnapshot
{
public override bool Equals(
object? obj)
{
// ...
}
}
objobject?The object to compare with the current object.
booltrue if the specified object is equal to the current object; otherwise, false.
Equals(HealthReportSnapshot?)Section titled Equals(HealthReportSnapshot?)bool
Indicates whether the current object is equal to another object of the same type.
public record HealthReportSnapshot
{
public bool Equals(
HealthReportSnapshot? other)
{
// ...
}
}
otherHealthReportSnapshot?An object to compare with this object.
booltrue if the current object is equal to the other parameter; otherwise, false.
GetHashCodeSection titled GetHashCodeoverrideint
Serves as the default hash function.
public record HealthReportSnapshot
{
public override int GetHashCode()
{
// ...
}
}
intA hash code for the current object.
op_Equality(HealthReportSnapshot?, HealthReportSnapshot?)Section titled op_Equality(HealthReportSnapshot?, HealthReportSnapshot?)staticbool
public record HealthReportSnapshot
{
public static bool operator ==(
HealthReportSnapshot? left,
HealthReportSnapshot? right)
{
// ...
}
}
op_Inequality(HealthReportSnapshot?, HealthReportSnapshot?)Section titled op_Inequality(HealthReportSnapshot?, HealthReportSnapshot?)staticbool
public record HealthReportSnapshot
{
public static bool operator !=(
HealthReportSnapshot? left,
HealthReportSnapshot? right)
{
// ...
}
}
ToStringSection titled ToStringoverridestring
Returns a string that represents the current object.
public record HealthReportSnapshot
{
public override string ToString()
{
// ...
}
}
stringA string that represents the current object.