Expects the specified expression and performs action when one is found.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
public void Expect( TimeSpan timeout, params ExpectAction[] expectActions )
Parameters
- timeout
- Type:
System TimeSpan
Time to wait for input.
- expectActions
- Type: Renci.SshNet 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.
See Also