Ends a pending asynchronous read.
[Visual Basic]
Overrides Public Function EndReceive( _
ByVal asyncResult As IAsyncResult _
) As Integer
The number of bytes received.
Exception Type | Condition |
---|---|
ArgumentNullException | asyncResult is a null reference (Nothing in Visual Basic). |
ArgumentException | asyncResult was not returned by a call to the BeginReceive method. |
InvalidOperationException | EndReceive was previously called for the asynchronous read. |
SocketException | An operating system error occurs while accessing the socket. |
ObjectDisposedException | The SecureSocket has been closed. |
SecurityException | An error occurred while decrypting data received from the remote host. |
SecureSocket Class | SecureSocket Members | Org.Mentalis.Security.Ssl Namespace