Class SingleServerReadBinding
Represents a read binding to a single server;
[Obsolete("This class will be made internal in a later release.")]
public sealed class SingleServerReadBinding : IReadBinding, IBinding, IDisposable
- Inheritance
-
SingleServerReadBinding
- Implements
- Inherited Members
Constructors
- SingleServerReadBinding(IServer, ReadPreference, ICoreSessionHandle)
Initializes a new instance of the SingleServerReadBinding class.
Properties
- ReadPreference
Gets the read preference.
- Session
Gets the session.
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.