Method EndWrite
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
EndWrite(IAsyncResult)
public override void EndWrite(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResult
A reference to the outstanding asynchronous I/O request.
Exceptions
asyncResult
is null.
A handle to the pending write operation is not available.
-or-
The pending operation does not support writing.
asyncResult
did not originate from a BeginWrite(byte[], int, int, AsyncCallback, object) method on the current stream.
The stream is closed or an internal error has occurred.