Class ChannelReadBinding
Represents a read binding that is bound to a channel.
[Obsolete("This class will be made internal in a later release.")]
public sealed class ChannelReadBinding : IReadBinding, IBinding, IDisposable
- Inheritance
-
ChannelReadBinding
- Implements
- Inherited Members
Constructors
- ChannelReadBinding(IServer, IChannelHandle, ReadPreference, ICoreSessionHandle)
Initializes a new instance of the ChannelReadBinding 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.