Table of Contents

Constructor ChannelSourceReadWriteBinding

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

ChannelSourceReadWriteBinding(IChannelSourceHandle, ReadPreference, ICoreSessionHandle)

Initializes a new instance of the ChannelSourceReadWriteBinding class.

public ChannelSourceReadWriteBinding(IChannelSourceHandle channelSource, ReadPreference readPreference, ICoreSessionHandle session)

Parameters

channelSource IChannelSourceHandle

The channel source.

readPreference ReadPreference

The read preference.

session ICoreSessionHandle

The session.