MemoryMappedViewStream: BeginRead |
Begins an asynchronous read operation.
Public Function BeginRead( Buffer ( ) As Byte, ByVal Offset As Long, ByVal Count As Long, Optional ByVal Callback As AsyncCallback, Optional State As Variant ) As IAsyncResult
The default implementation of BeginRead on a stream calls the ReadBlock method synchronously.
Exception | Condition |
---|---|
ArgumentException | One or more of the arguments is invalid. |
ObjectDisposedException | Methods were called after the stream was closed. |
NotSupportedException | The current Stream implementation does not support the read operation. |