Table of Contents

Constructor ReadPreferenceBinding

Namespace
MongoDB.Driver.Core.Bindings
Assembly
MongoDB.Driver.Core.dll

ReadPreferenceBinding(ICluster, ReadPreference, ICoreSessionHandle)

Initializes a new instance of the ReadPreferenceBinding class.

public ReadPreferenceBinding(ICluster cluster, ReadPreference readPreference, ICoreSessionHandle session)

Parameters

cluster ICluster

The cluster.

readPreference ReadPreference

The read preference.

session ICoreSessionHandle

The session.