Skip to content
Docs Try Aspire

HealthReportSnapshot Methods

Record Methods 8 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)
{
// ...
}
}
Name string
Status HealthStatus??
Description string?
ExceptionText string?
Equals(object?) Section titled Equals(object?) override bool
Determines whether the specified object is equal to the current object.
public record HealthReportSnapshot
{
public override bool Equals(
object? obj)
{
// ...
}
}
obj object? The object to compare with the current object.
bool true 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)
{
// ...
}
}
other HealthReportSnapshot? An object to compare with this object.
bool true if the current object is equal to the other parameter; otherwise, false.
GetHashCode Section titled GetHashCode override int
Serves as the default hash function.
public record HealthReportSnapshot
{
public override int GetHashCode()
{
// ...
}
}
int A hash code for the current object.
op_Equality(HealthReportSnapshot?, HealthReportSnapshot?) Section titled op_Equality(HealthReportSnapshot?, HealthReportSnapshot?) static bool
public record HealthReportSnapshot
{
public static bool operator ==(
HealthReportSnapshot? left,
HealthReportSnapshot? right)
{
// ...
}
}
op_Inequality(HealthReportSnapshot?, HealthReportSnapshot?) Section titled op_Inequality(HealthReportSnapshot?, HealthReportSnapshot?) static bool
public record HealthReportSnapshot
{
public static bool operator !=(
HealthReportSnapshot? left,
HealthReportSnapshot? right)
{
// ...
}
}
ToString Section titled ToString override string
Returns a string that represents the current object.
public record HealthReportSnapshot
{
public override string ToString()
{
// ...
}
}
string A string that represents the current object.