Begins an asynchronous write to a stream.
[Visual Basic]
Overrides Public Function BeginWrite( _
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 writing to the network. |
SecureNetworkStream Class | SecureNetworkStream Members | Org.Mentalis.Security.Ssl Namespace