MemoryMappedViewStream: EndWrite |
Ends an asynchronous write operation.
Public Sub EndWrite( ByVal AsyncResult As IAsyncResult )
EndWrite must be called exactly once on every IAsyncResult from BeginWrite.
Exception | Condition |
---|---|
ArgumentNullException | AsyncResult is Nothing. |
InvalidOperationException | AsyncResult did not originate from a BeginWrite method on the current stream. |
IOException | The stream is closed or an internal error has occurred./td> |