Click or drag to resize

IReadBinding Interface

Represents a binding that determines which channel source gets used for read operations.

Namespace:  MongoDB.Driver.Core.Bindings
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public interface IReadBinding : IBinding, 
	IDisposable

The IReadBinding type exposes the following members.

Properties
  NameDescription
Public propertyReadPreference
Gets the read preference.
Public propertySession
Gets the session.
(Inherited from IBinding.)
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetReadChannelSource
Gets a channel source for read operations.
Public methodGetReadChannelSourceAsync
Gets a channel source for read operations.
Top
See Also