Table of Contents

Class PriorityServerSelector

Namespace
MongoDB.Driver.Core.Clusters.ServerSelectors
Assembly
MongoDB.Driver.dll

Represents a server selector that selects servers based on a collection of servers to deprioritize.

public sealed class PriorityServerSelector : IServerSelector
Inheritance
PriorityServerSelector
Implements
Inherited Members

Constructors

PriorityServerSelector(IReadOnlyCollection<ServerDescription>)

Initializes a new instance of the PriorityServerSelector class.

Methods

SelectServers(ClusterDescription, IEnumerable<ServerDescription>)

Selects the servers.

ToString()

Returns a string that represents the current object.