ReadPreferenceHedge Constructor |
Initializes an instance of ReadPreferenceHedge.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public ReadPreferenceHedge(
bool isEnabled
)
Public Sub New (
isEnabled As Boolean
)
new :
isEnabled : bool -> ReadPreferenceHedge
Parameters
- isEnabled
- Type: SystemBoolean
Whether hedged reads are enabled.
See Also