MemoryMappedViewStream: EndWrite

EndWrite

Ends an asynchronous write operation.



 Public Sub EndWrite(
	  ByVal AsyncResult As IAsyncResult )

Parameters

AsyncResult
[ByVal] IAsyncResult. A reference to the outstanding asynchronous I/O request.

Remarks

EndWrite must be called exactly once on every IAsyncResult from BeginWrite.

Exceptions

Exception Condition
ArgumentNullExceptionAsyncResult is Nothing.
InvalidOperationExceptionAsyncResult did not originate from a BeginWrite method on the current stream.
IOExceptionThe stream is closed or an internal error has occurred./td>

See Also

Project CorLib Overview

Class MemoryMappedViewStream Overview