Table of Contents

Class ReadBindingHandle

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

Represents a handle to a read binding.

public sealed class ReadBindingHandle : IReadBindingHandle, IReadBinding, IBinding, IDisposable
Inheritance
ReadBindingHandle
Implements
Inherited Members

Constructors

ReadBindingHandle(IReadBinding)

Initializes a new instance of the ReadBindingHandle class.

Properties

ReadPreference

Gets the read preference.

Session

Gets the session.

Methods

Dispose()
Fork()

Returns a new handle to the underlying read binding.

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.