Click or drag to resize

WritableServerSelector Constructor (IMayUseSecondaryCriteria)

Initializes an instance of the WritableServerSelector class.

Namespace:  MongoDB.Driver.Core.Clusters.ServerSelectors
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public WritableServerSelector(
	IMayUseSecondaryCriteria mayUseSecondary
)

Parameters

mayUseSecondary
Type: MongoDB.Driver.Core.BindingsIMayUseSecondaryCriteria
The may use secondary criteria.
See Also