Ends a pending asynchronous connection request.
[Visual Basic]
Overrides Public Sub EndConnect( _
ByVal asyncResult As IAsyncResult _
)
Exception Type | Condition |
---|---|
ArgumentNullException | asyncResult is a null reference (Nothing in Visual Basic). |
ArgumentException | asyncResult was not returned by a call to the BeginConnect method. |
InvalidOperationException | EndConnect was previously called for the asynchronous connection. |
SocketException | An operating system error occurs while accessing the SecureSocket. |
ObjectDisposedException | The SecureSocket has been closed. |
SecurityException | An error occurred while negotiating the security protocol. |
SecureSocket Class | SecureSocket Members | Org.Mentalis.Security.Ssl Namespace