NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TCPListener.Pending

Determine if there are pending connection requests.

[Visual Basic]
Public Function Pending() As Boolean
[C#]
public bool Pending();
[C++]
public: bool Pending();
[JScript]
public function Pending() : Boolean;

Return Value

True if connections are pending; otherwise, false.

Exceptions

Exception Type Condition
InvalidOperationException The listener has not been started with a call to Start.

See Also

TCPListener Class | TCPListener Members | System.Net.Sockets Namespace