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.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public WriteConcern(
	int w,
	Optional<Nullable<TimeSpan>> wTimeout = null,
	Optional<Nullable<bool>> fsync = null,
	Optional<Nullable<bool>> journal = null
)

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