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.FromString instead.",  _
	False)> _
Public Function Expect ( _
	response As String, _
	maximumWaitTime As Integer _
) As Boolean
C#
[ObsoleteAttribute("Expect method has been deprecated. Please use Scripting.WaitFor with ScriptEvents.FromString instead.", 
	false)]
public bool Expect(
	string response,
	int maximumWaitTime
)

Parameters

response
Type: System..::..String
maximumWaitTime
Type: System..::..Int32

Version Information

.NET Compact Framework

Obsolete (compiler warning) in 3.9, 3.5

See Also