Table of Contents

Constructor ChannelReadBinding

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

ChannelReadBinding(IServer, IChannelHandle, ReadPreference, ICoreSessionHandle)

Initializes a new instance of the ChannelReadBinding class.

public ChannelReadBinding(IServer server, IChannelHandle channel, ReadPreference readPreference, ICoreSessionHandle session)

Parameters

server IServer

The server.

channel IChannelHandle

The channel.

readPreference ReadPreference

The read preference.

session ICoreSessionHandle

The session.