Class WritableServerSelector
- Namespace
- MongoDB.Driver.Core.Clusters.ServerSelectors
- Assembly
- MongoDB.Driver.Core.dll
Represents a server selector that selects writable servers.
public class WritableServerSelector : IServerSelector
- Inheritance
-
WritableServerSelector
- Implements
- Inherited Members
Constructors
- WritableServerSelector()
Initializes an instance of the WritableServerSelector class.
- WritableServerSelector(IMayUseSecondaryCriteria)
Initializes an instance of the WritableServerSelector class.
Properties
- Instance
Gets a WritableServerSelector.
- MayUseSecondary
Returns the may use secondary criteria.
Methods
- SelectServers(ClusterDescription, IEnumerable<ServerDescription>)
Selects the servers.