The SshTask type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SshTask(String, String, String) |
Creates a new task instance.
|
![]() |
SshTask(String, String, String, String) |
Creates a new task instance.
|
Methods
Name | Description | |
---|---|---|
![]() |
Cancel |
Cancels the task execution.
|
![]() |
Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) |
![]() |
Execute |
Executes a task command.
|
![]() |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
ToString |
Returns a String that represents the current Object.
(Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() ![]() |
ACTIVE |
Task is active and waiting for start prompt to execute command.
|
![]() ![]() |
COMPLETE |
Task has finished execution of command and has received end prompt.
|
![]() ![]() |
PENDING |
Task is waiting to be activated.
|
![]() ![]() |
RUNNING |
Task has received start prompt and is currently executing command.
|
Properties
Name | Description | |
---|---|---|
![]() |
Command |
The command line.
|
![]() |
EndPrompt |
The end prompt.
|
![]() |
IsActive |
Check if the current task status is "active".
|
![]() |
IsComplete |
Check if the current task status is "complete".
|
![]() |
IsEndPromptRegex |
The start prompt regex flag.
|
![]() |
IsPending |
Check if the current task status is "pending".
|
![]() |
IsRunning |
Check if the current task status is "running".
|
![]() |
IsStartPromptRegex |
The start prompt regex flag.
|
![]() |
IsTimedOut |
Checks if the current task is timed out.
|
![]() |
Name |
The task name.
|
![]() |
Response |
The command response.
|
![]() |
Script |
The task script.
|
![]() |
StartPrompt |
The start prompt.
|
![]() |
Status |
The task status.
|
![]() |
Terminator |
The comand terminator.
|
![]() |
Timeout |
The task timeout.
|