Checks if this TelnetTask is active.

Namespace: Jscape.Telnet
Assembly: Jscape.Telnet (in Jscape.Telnet.dll) Version: 2.6.1.0

Syntax

C#
public bool IsActive()
Visual Basic
Public Function IsActive As Boolean
Visual C++
public:
bool IsActive()

Return Value

True if active, false otherwise.

Examples

To check if a task is active, invoke the IsActive method. In this example, the last task (denoted by Tail) is checked if active.
CopyIsActive
// Check if last task is active
while (script.Tail.IsActive()) {
    // other process
}

CopyIsActive
' Check if last task is active
While (script.Tail.IsActive()) 
    ' other process
End While

See Also