Method WithWriteConcern
WithWriteConcern(WriteConcern)
Returns a new IMongoClient instance with a different write concern setting.
Parameters
writeConcern
WriteConcern The write concern.
Returns
- IMongo
Client A new IMongoClient instance with a different write concern setting.