Table of Contents

Class ChannelReadBinding

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

Represents a read binding that is bound to a channel.

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

Dispose()
GetReadChannelSource(CancellationToken)

Gets a channel source for read operations.

GetReadChannelSourceAsync(CancellationToken)

Gets a channel source for read operations.