Class HealthCheckResult
Returned by HealthCheck().
public sealed record HealthCheckResult : IEquatable<HealthCheckResult>
- Inheritance
-
HealthCheckResult
- Implements
- Inherited Members
Constructors
HealthCheckResult(bool, IReadOnlyList<string>)
Returned by HealthCheck().
public HealthCheckResult(bool IsHealthy, IReadOnlyList<string> Findings)
Parameters
IsHealthybooltruewhen all checks passed and SAP GUI is ready for automation.FindingsIReadOnlyList<string>Ordered list of human-readable findings. Each entry is prefixed with
OK:,WARN:, orFAIL:so callers can filter by severity.
Properties
FailureSummary
Returns only the FAIL: lines, one per line.
Useful for building a compact exception message.
public string FailureSummary { get; }
Property Value
Findings
Normalises a null findings list to an empty list so that
FailureSummary and ToString() never throw.
public IReadOnlyList<string> Findings { get; init; }
Property Value
IsHealthy
true when all checks passed and SAP GUI is ready for automation.
public bool IsHealthy { get; init; }
Property Value
Methods
ToString()
Returns all findings joined by newlines — handy for logging.
public override string ToString()