Click or drag to resize

ReadConcernWith Method

Returns a new instance of ReadConcern with some values changed.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
public ReadConcern With(
	Optional<ReadConcernLevel?> level = default
)

Parameters

level (Optional)
Type: MongoDB.DriverOptionalNullableReadConcernLevel
The level.

Return Value

Type: ReadConcern
A ReadConcern.
See Also