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.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
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