Returns a new instance of ReadConcern with some values changed.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax public ReadConcern With(
Optional<ReadConcernLevel?> level = default
)
Public Function With (
Optional level As Optional(Of ReadConcernLevel?) = Nothing
) As ReadConcern
member With :
?level : Optional<Nullable<ReadConcernLevel>>
(* Defaults:
let _level = defaultArg level new Optional<Nullable<ReadConcernLevel>>()
*)
-> ReadConcern
Parameters
- level (Optional)
- Type: MongoDB.DriverOptionalNullableReadConcernLevel
The level.
Return Value
Type:
ReadConcern
A ReadConcern.
See Also