Click or drag to resize

ShellStreamExpect(TimeSpan, ExpectAction) Method

Expects the specified expression and performs action when one is found.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public void Expect(
	TimeSpan timeout,
	params ExpectAction[] expectActions
)

Parameters

timeout  TimeSpan
Time to wait for input.
expectActions  ExpectAction
The expected expressions and actions to perform, if the specified time elapsed and expected condition have not met, that method will exit without executing any action.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also