Class WriteConcern.WMode
Represents a mode string WValue.
public sealed class WriteConcern.WMode : WriteConcern.WValue, IEquatable<WriteConcern.WValue>, IEquatable<WriteConcern.WMode>
- Inheritance
-
Write
Concern. WMode
- Implements
- Inherited Members
Constructors
- WMode(string)
Initializes a new instance of the Write
Concern. class.WMode
Properties
- Majority
Gets an instance of WValue that represents the majority mode.
- Value
Gets the value.
Methods
- To
Bson Value() Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern.