Skip to content

WaitUntilTimeoutException ​

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Exception thrown when a times out waiting for a condition. Includes rich diagnostic information about the terminal state at the time of timeout.

csharp
public sealed class WaitUntilTimeoutException : TimeoutException, ISerializable

Inheritance ​

Object → Exception → SystemException → TimeoutException → WaitUntilTimeoutException

Implements ​

Properties ​

CallerFilePath ​

Gets the source file path where the WaitUntil call was made.

Returns: String

csharp
public string? CallerFilePath { get; }

CallerLineNumber ​

Gets the line number where the WaitUntil call was made.

Returns: Nullable<Int32>

csharp
public int? CallerLineNumber { get; }

ConditionDescription ​

Gets the description of the condition being waited on. This is either the caller-provided description or the auto-captured predicate expression.

Returns: String

csharp
public string ConditionDescription { get; }

TerminalSnapshot ​

Gets the terminal snapshot captured at the time of timeout, or null if unavailable.

Returns: Hex1bTerminalSnapshot

csharp
public Hex1bTerminalSnapshot? TerminalSnapshot { get; }

Timeout ​

Gets the timeout duration that was exceeded.

Returns: TimeSpan

csharp
public TimeSpan Timeout { get; }

Released under the MIT License.