Checks if this TelnetTask is active.
Namespace: Jscape.TelnetAssembly: 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
CopyIsActive

// Check if last task is active while (script.Tail.IsActive()) { // other process }

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