Checks if this TelnetTask is pending activation.

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

Syntax

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

Return Value

True if pending activation, false otherwise.

Examples

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.
CopyIsPending
// Check if last task is pending
while (script.Tail.IsPending()) {
    // other process
}

CopyIsPending
' Check if last task is pending
While (script.Tail.IsPending()) 
    ' other process
End While

See Also