Class ReadPreferenceHedge
Represents a read preference hedge.
public sealed class ReadPreferenceHedge : IEquatable<ReadPreferenceHedge>
- Inheritance
-
ReadPreferenceHedge
- Implements
- Inherited Members
Constructors
- ReadPreferenceHedge(bool)
Initializes an instance of ReadPreferenceHedge.
Properties
- Disabled
Gets a disabled read preference hedge.
- Enabled
Gets an enabled read preference hedge.
- IsEnabled
Gets whether hedged reads are enabled.
Methods
- ToBsonDocument()
Converts the read preference hedge to a BsonDocument.