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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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