Telnet Factory for .NET

TelnetTask.IsPending Method 

Checks if this TelnetTask is pending activation.

public bool IsPending();

Return Value

True if pending activation, false otherwise.

Example

To check if a task is pending activation, invoke the IsPending method. In this example, the last task (denoted by Tail) is checked for pending activation.

[CS]
// Check if last task is pending
while (script.Tail.IsPending()) {
    // other process
}

[Visual Basic]
' Check if last task is pending
While (script.Tail.IsPending()) 
    ' other process
End While

See Also

TelnetTask Class | Jscape.Telnet Namespace