ChannelSourceReadWriteBinding Constructor |
Namespace: MongoDB.Driver.Core.BindingsAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.3.0
Syntax public ChannelSourceReadWriteBinding(
IChannelSourceHandle channelSource,
ReadPreference readPreference
)
Public Sub New (
channelSource As IChannelSourceHandle,
readPreference As ReadPreference
)
new :
channelSource : IChannelSourceHandle *
readPreference : ReadPreference -> ChannelSourceReadWriteBinding
Parameters
- channelSource
- Type: MongoDB.Driver.Core.BindingsIChannelSourceHandle
The channel source. - readPreference
- Type: MongoDB.DriverReadPreference
The read preference.
See Also