Class ChannelSourceReadWriteBinding
Represents a read-write binding to a channel source.
public sealed class ChannelSourceReadWriteBinding : IReadWriteBinding, IReadBinding, IWriteBinding, IBinding, IDisposable
- Inheritance
-
ChannelSourceReadWriteBinding
- Implements
- Inherited Members
Constructors
- ChannelSourceReadWriteBinding(IChannelSourceHandle, ReadPreference, ICoreSessionHandle)
Initializes a new instance of the ChannelSourceReadWriteBinding class.
Properties
- ReadPreference
Gets the read preference.
- Session
Gets the session.
Methods
- GetReadChannelSource(CancellationToken)
Gets a channel source for read operations.
- GetReadChannelSourceAsync(CancellationToken)
Gets a channel source for read operations.
- GetWriteChannelSource(IMayUseSecondaryCriteria, CancellationToken)
Gets a channel source for write operations that may use a secondary.
- GetWriteChannelSource(CancellationToken)
Gets a channel source for write operations.
- GetWriteChannelSourceAsync(IMayUseSecondaryCriteria, CancellationToken)
Gets a channel source for write operations that may use a secondary.
- GetWriteChannelSourceAsync(CancellationToken)
Gets a channel source for write operations.