Click or drag to resize

WriteConcern Constructor (Int32, OptionalNullableTimeSpan, OptionalNullableBoolean, OptionalNullableBoolean)

Initializes a new instance of the WriteConcern class.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public WriteConcern(
	int w,
	Optional<TimeSpan?> wTimeout = default,
	Optional<bool?> fsync = default,
	Optional<bool?> journal = default
)

Parameters

w
Type: SystemInt32
The w value.
wTimeout (Optional)
Type: MongoDB.DriverOptionalNullableTimeSpan
The wtimeout value.
fsync (Optional)
Type: MongoDB.DriverOptionalNullableBoolean
The fsync value .
journal (Optional)
Type: MongoDB.DriverOptionalNullableBoolean
The journal value.
See Also