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.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
public WritableServerSelector(
	IMayUseSecondaryCriteria mayUseSecondary
)

Parameters

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