Table of Contents

Constructor SingleServerReadBinding

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

SingleServerReadBinding(IServer, ReadPreference, ICoreSessionHandle)

Initializes a new instance of the SingleServerReadBinding class.

public SingleServerReadBinding(IServer server, ReadPreference readPreference, ICoreSessionHandle session)

Parameters

server IServer

The server.

readPreference ReadPreference

The read preference.

session ICoreSessionHandle

The session.