Begins an asynchronous read from a stream.
[Visual Basic]
Overrides Public Function BeginRead( _
ByVal buffer As Byte(), _
ByVal offset As Integer, _
ByVal size As Integer, _
ByVal callback As AsyncCallback, _
ByVal state As Object _
) As IAsyncResult
An IAsyncResult representing the asynchronous call.
| Exception Type | Condition | 
|---|---|
| ArgumentNullException | buffer is a null reference (Nothing in Visual Basic). | 
| ArgumentOutOfRangeException | The specified offset or size exceeds the size of buffer. | 
| IOException | There is a failure while reading from the network. | 
SecureNetworkStream Class | SecureNetworkStream Members | Org.Mentalis.Security.Ssl Namespace