Click or drag to resize

WriteConcern Constructor (Int32, Optional<Nullable<TimeSpan>>, Optional<Nullable<Boolean>>, Optional<Nullable<Boolean>>)

Initializes a new instance of the WriteConcern class.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax
public WriteConcern(
	int w,
	Optional<Nullable<TimeSpan>> wTimeout = null,
	Optional<Nullable<bool>> fsync = null,
	Optional<Nullable<bool>> journal = null
)

Parameters

w
Type: System.Int32
The w value.
wTimeout (Optional)
Type: MongoDB.Driver.Optional<Nullable<TimeSpan>>
The wtimeout value.
fsync (Optional)
Type: MongoDB.Driver.Optional<Nullable<Boolean>>
The fsync value .
journal (Optional)
Type: MongoDB.Driver.Optional<Nullable<Boolean>>
The journal value.
See Also