Begins to asynchronously receive data from a connected SecureSocket.
[Visual Basic]
Overrides Public Function BeginReceive( _
ByVal buffer As Byte(), _
ByVal offset As Integer, _
ByVal size As Integer, _
ByVal socketFlags As SocketFlags, _
ByVal callback As AsyncCallback, _
ByVal state As Object _
) As IAsyncResult
An IAsyncResult that references the asynchronous read.
Exception Type | Condition |
---|---|
ArgumentNullException | buffer is a null reference (Nothing in Visual Basic). |
SocketException | An operating system error occurs while accessing the SecureSocket. |
ObjectDisposedException | SecureSocket has been closed. |
ArgumentOutOfRangeException | The offset parameter is outside the bounds of buffer or size is either smaller or larger than the buffer size. |
SecureSocket Class | SecureSocket Members | Org.Mentalis.Security.Ssl Namespace