Constructor PriorityServerSelector
- Namespace
- MongoDB.Driver.Core.Clusters.ServerSelectors
- Assembly
- MongoDB.Driver.Core.dll
PriorityServerSelector(IReadOnlyCollection<ServerDescription>)
Initializes a new instance of the PriorityServerSelector class.
public PriorityServerSelector(IReadOnlyCollection<ServerDescription> deprioritizedServers)
Parameters
deprioritizedServers
IReadOnlyCollection<ServerDescription>The collection of servers to deprioritize.