Constructor ReadPreference
ReadPreference(ReadPreferenceMode, IEnumerable<TagSet>, TimeSpan?, ReadPreferenceHedge)
Initializes a new instance of the ReadPreference class.
public ReadPreference(ReadPreferenceMode mode, IEnumerable<TagSet> tagSets = null, TimeSpan? maxStaleness = null, ReadPreferenceHedge hedge = null)
Parameters
mode
ReadPreferenceModeThe read preference mode.
tagSets
IEnumerable<TagSet>The tag sets.
maxStaleness
TimeSpan?The maximum staleness.
hedge
ReadPreferenceHedgeThe hedge.