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.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
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