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 Framework

Obsolete (compiler warning) in 4.8, 4.7.x, 4.6.x
Obsolete (compiler warning) in 4.5.x, 4.0
Obsolete (compiler warning) in 3.5 SP1

See Also