WriteConcern Constructor (OptionalWriteConcernWValue, OptionalNullableTimeSpan, OptionalNullableBoolean, OptionalNullableBoolean) |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax public WriteConcern(
Optional<WriteConcernWValue> w = null,
Optional<Nullable<TimeSpan>> wTimeout = null,
Optional<Nullable<bool>> fsync = null,
Optional<Nullable<bool>> journal = null
)
Public Sub New (
Optional w As Optional(Of WriteConcernWValue) = Nothing,
Optional wTimeout As Optional(Of Nullable(Of TimeSpan)) = Nothing,
Optional fsync As Optional(Of Nullable(Of Boolean)) = Nothing,
Optional journal As Optional(Of Nullable(Of Boolean)) = Nothing
)
new :
?w : Optional<WriteConcernWValue> *
?wTimeout : Optional<Nullable<TimeSpan>> *
?fsync : Optional<Nullable<bool>> *
?journal : Optional<Nullable<bool>>
(* Defaults:
let _w = defaultArg w null
let _wTimeout = defaultArg wTimeout null
let _fsync = defaultArg fsync null
let _journal = defaultArg journal null
*)
-> WriteConcern
Parameters
- w (Optional)
- Type: MongoDB.DriverOptionalWriteConcernWValue
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