Checks if this TelnetTask is complete due to sucessful completion, cancellation or exceeded timeout.
True if completed, cancelled or timed-out, false otherwise.
To check if a task has completed, invoke the IsComplete method. In this example, the last task (denoted by Tail) is checked if completed and if not, invokes a 100ms thread interrupt.
[CS]
// Wait for last task to complete
while (!script.Tail.IsComplete()) {
Thread.Sleep(100);
}
[Visual Basic]
' Wait for last task to complete
While (!script.Tail.IsComplete())
Thread.Sleep(100)
End While
TelnetTask Class | Jscape.Telnet Namespace