Table of Contents

Class ReadPreferenceHedge

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

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)
Equals(object)
GetHashCode()
ToBsonDocument()

Converts the read preference hedge to a BsonDocument.

ToString()