Table of Contents

Class SingleServerReadBinding

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

Represents a read binding to a single server;

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

Dispose()
GetReadChannelSource(CancellationToken)

Gets a channel source for read operations.

GetReadChannelSourceAsync(CancellationToken)

Gets a channel source for read operations.