Table of Contents

Method WithReadConcern

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

WithReadConcern(ReadConcern)

Returns a new IMongoClient instance with a different read concern setting.

public IMongoClient WithReadConcern(ReadConcern readConcern)

Parameters

readConcern ReadConcern

The read concern.

Returns

IMongoClient

A new IMongoClient instance with a different read concern setting.