Creates a new task instance.

Namespace: Jscape.Ssh
Assembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0

Syntax

C#
public SshTask(
	string startPrompt,
	string command,
	string endPrompt
)
Visual Basic
Public Sub New ( _
	startPrompt As String, _
	command As String, _
	endPrompt As String _
)
Visual C++
public:
SshTask(
	String^ startPrompt, 
	String^ command, 
	String^ endPrompt
)

Parameters

startPrompt
Type: System..::..String
the task start prompt or null if task should be executed immediately
command
Type: System..::..String
the task command
endPrompt
Type: System..::..String
the task end prompt

See Also