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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
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