Table of Contents

Interface IReadBinding

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

Represents a binding that determines which channel source gets used for read operations.

[Obsolete("This interface will be made internal in a later release.")]
public interface IReadBinding : IBinding, IDisposable
Inherited Members

Properties

ReadPreference

Gets the read preference.

Methods

GetReadChannelSource(IReadOnlyCollection<ServerDescription>, CancellationToken)

Gets a channel source for read operations while deprioritizing servers in the provided collection.

GetReadChannelSource(CancellationToken)

Gets a channel source for read operations.

GetReadChannelSourceAsync(IReadOnlyCollection<ServerDescription>, CancellationToken)

Gets a channel source for read operations while deprioritizing servers in the provided collection.

GetReadChannelSourceAsync(CancellationToken)

Gets a channel source for read operations.