Constructor MongoWriteException
MongoWriteException(ConnectionId, WriteError, WriteConcernError, Exception)
Initializes a new instance of the Mongo
public MongoWriteException(ConnectionId connectionId, WriteError writeError, WriteConcernError writeConcernError, Exception innerException)
Parameters
connectionId
ConnectionId The connection identifier.
writeError
WriteError The write error.
writeConcernError
WriteConcern Error The write concern error.
innerException
ExceptionThe inner exception.
MongoWriteException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoQueryException class (this overload supports deserialization).
Parameters
info
SerializationInfo The SerializationInfo.
context
StreamingContext The StreamingContext.