Processes response from the server until a condition is met. The events are processed as if the OR operator was applied.

Namespace:  Rebex.TerminalEmulation
Assembly:  Rebex.Terminal (in Rebex.Terminal.dll)

Syntax

Visual Basic
Public Function WaitFor ( _
	ParamArray events As ScriptEvent() _
) As ScriptMatch
C#
public ScriptMatch WaitFor(
	params ScriptEvent[] events
)

Parameters

events
Type: array<Rebex.TerminalEmulation..::..ScriptEvent>[]()[][]
Condition to be met.

Return Value

Result of the check.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also