BsonStreamAdapterEndWrite Method |
Namespace: MongoDB.Bson.IO
Exception | Condition |
---|---|
ArgumentNullException | asyncResult is null. |
ArgumentException | A handle to the pending write operation is not available.-or-The pending operation does not support writing. |
InvalidOperationException | asyncResult did not originate from a BeginWrite(Byte, Int32, Int32, AsyncCallback, Object) method on the current stream. |
IOException | The stream is closed or an internal error has occurred. |