Ends a pending asynchronous connection request.
Exception Type | Condition |
---|---|
ArgumentNullException | The asyncResult parameter is a null reference (Nothing in Visual Basic). |
ArgumentException | The asyncResult parameter was not returned by a call to the BeginConnect method. |
SocketException | An operating system error occurs while accessing the Socket. |
ObjectDisposedException | The Socket has been closed. |
InvalidOperationException | EndConnect was previously called for the asynchronous connection. |
ProxyException | The proxy server refused the connection. |
ProxySocket Class | Org.Mentalis.Network.ProxySocket Namespace