Click or drag to resize

WriteConcern Constructor (Optional<WriteConcern.WValue>, 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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public WriteConcern(
	Optional<WriteConcern.WValue> w = null,
	Optional<Nullable<TimeSpan>> wTimeout = null,
	Optional<Nullable<bool>> fsync = null,
	Optional<Nullable<bool>> journal = null
)

Parameters

w (Optional)
Type: MongoDB.Driver.Optional<WriteConcern.WValue>
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