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

Syntax

Visual Basic
<ObsoleteAttribute("Expect method has been deprecated. Please use Scripting.WaitFor with ScriptEvents.FromRegex instead.",  _
	False)> _
Public Function Expect ( _
	pattern As Regex, _
	maximumWaitTime As Integer _
) As Match
C#
[ObsoleteAttribute("Expect method has been deprecated. Please use Scripting.WaitFor with ScriptEvents.FromRegex instead.", 
	false)]
public Match Expect(
	Regex pattern,
	int maximumWaitTime
)

Parameters

pattern
Type: System.Text.RegularExpressions..::..Regex
maximumWaitTime
Type: System..::..Int32

Version Information

.NET Compact Framework

Obsolete (compiler warning) in 3.9, 3.5

See Also