Table of Contents

Class HealthCheckResult

Namespace
SapGui.Wrapper
Assembly
SapGui.Wrapper.dll

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

IsHealthy bool

true when all checks passed and SAP GUI is ready for automation.

Findings IReadOnlyList<string>

Ordered list of human-readable findings. Each entry is prefixed with OK:, WARN:, or FAIL: 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

string

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

IReadOnlyList<string>

IsHealthy

true when all checks passed and SAP GUI is ready for automation.

public bool IsHealthy { get; init; }

Property Value

bool

Methods

ToString()

Returns all findings joined by newlines — handy for logging.

public override string ToString()

Returns

string