Table of Contents

Method WithReadConcern

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

WithReadConcern(ReadConcern)

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

IMongoCollection<TDocument> WithReadConcern(ReadConcern readConcern)

Parameters

readConcern ReadConcern

The read concern.

Returns

IMongoCollection<TDocument>

A new IMongoCollection instance with a different read concern setting.