Table of Contents

Method CreateReadBinding

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

CreateReadBinding(ICluster, ICoreSessionHandle, ReadPreference)

Create a read binding handle.

public static IReadBindingHandle CreateReadBinding(ICluster cluster, ICoreSessionHandle session, ReadPreference readPreference)

Parameters

cluster ICluster

The cluster,

session ICoreSessionHandle

The session.

readPreference ReadPreference

The read preference.

Returns

IReadBindingHandle

An effective read binging.