Click or drag to resize

IReadWriteBinding Interface

Represents a binding that can be used for both read and write operations.

Namespace:  MongoDB.Driver.Core.Bindings
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public interface IReadWriteBinding : IReadBinding, 
	IBinding, IDisposable, IWriteBinding

The IReadWriteBinding type exposes the following members.

Properties
  NameDescription
Public propertyReadPreference
Gets the read preference.
(Inherited from IReadBinding.)
Public propertySession
Gets the session.
(Inherited from IBinding.)
Top
Methods
  NameDescription
Public methodDispose (Inherited from IDisposable.)
Public methodGetReadChannelSource
Gets a channel source for read operations.
(Inherited from IReadBinding.)
Public methodGetReadChannelSourceAsync
Gets a channel source for read operations.
(Inherited from IReadBinding.)
Public methodGetWriteChannelSource
Gets a channel source for write operations.
(Inherited from IWriteBinding.)
Public methodGetWriteChannelSourceAsync
Gets a channel source for write operations.
(Inherited from IWriteBinding.)
Top
See Also