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
- Equals(ReadPreferenceHedge)
Indicates whether the current object is equal to another object of the same type.
- Equals(object)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Serves as the default hash function.
- ToBsonDocument()
Converts the read preference hedge to a BsonDocument.
- ToString()
Returns a string that represents the current object.