Ends a pending asynchronous send.
[Visual Basic]
Overrides Public Function EndSend( _
ByVal asyncResult As IAsyncResult _
) As Integer
If successful, the number of bytes sent to the SecureSocket.
Exception Type | Condition |
---|---|
ArgumentNullException | asyncResult is a null reference (Nothing in Visual Basic). |
ArgumentException | asyncResult was not returned by a call to the BeginSend method. |
InvalidOperationException | EndSend was previously called for the asynchronous read. |
SocketException | An operating system error occurs while accessing the SecureSocket. |
ObjectDisposedException | The SecureSocket has been closed. |
SecureSocket Class | SecureSocket Members | Org.Mentalis.Security.Ssl Namespace