Class ReadPreferenceHedge
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Represents a read preference hedge.
[Obsolete("Hedged reads are deprecated starting in server version 8.0.")]
public sealed class ReadPreferenceHedge : IEquatable<ReadPreferenceHedge>
Inheritance
ReadPreferenceHedge
Implements
Inherited Members
Constructors
Initializes an instance of ReadPreferenceHedge.
Properties
Gets a disabled read preference hedge.
Gets an enabled read preference hedge.
Gets whether hedged reads are enabled.
Methods
Indicates whether the current object is equal to another object of the same type.
Determines whether the specified object is equal to the current object.
Serves as the default hash function.
Converts the read preference hedge to a BsonDocument.
Returns a string that represents the current object.