Constructor MongoWriteConcernException
MongoWriteConcernException(ConnectionId, string, WriteConcernResult)
Initializes a new instance of the Mongo
public MongoWriteConcernException(ConnectionId connectionId, string message, WriteConcernResult writeConcernResult)
Parameters
connectionId
ConnectionId The connection identifier.
message
stringThe error message.
writeConcernResult
WriteConcern Result The command result.
MongoWriteConcernException(SerializationInfo, StreamingContext)
Initializes a new instance of the Mongo
Parameters
info
SerializationInfo The SerializationInfo.
context
StreamingContext The StreamingContext.