Ends a pending asynchronous connection request.
Namespace: Jscape.Util.ProxyAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public void EndConnect(
IAsyncResult asyncResult
) |
Visual Basic |
---|
Public Sub EndConnect ( _
asyncResult As IAsyncResult _
) |
Visual C++ |
---|
public:
void EndConnect(
IAsyncResult^ asyncResult
) |
Parameters
- asyncResult
- Type: System..::..IAsyncResult
Stores state information for this asynchronous operation as well as any user-defined data.
Exceptions
Exception | Condition |
---|
System..::..ArgumentNullException | The asyncResult parameter is a null reference (Nothing in Visual Basic). |
System..::..ArgumentException | The asyncResult parameter was not returned by a call to the BeginConnect method. |
System.Net.Sockets..::..SocketException | An operating system error occurs while accessing the Socket. |
System..::..ObjectDisposedException | The Socket has been closed. |
System..::..InvalidOperationException | EndConnect was previously called for the asynchronous connection. |
Jscape.Util.Proxy..::..ProxyException | The proxy server refused the connection. |
See Also