Table of Contents

Class RandomServerSelector

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

Represents a selector that selects a random server.

public class RandomServerSelector : IServerSelector
Inheritance
RandomServerSelector
Implements
Inherited Members

Constructors

RandomServerSelector()

Initializes a new instance of the RandomServerSelector class.

Methods

SelectServers(ClusterDescription, IEnumerable<ServerDescription>)

Selects the servers.

ToString()