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.1.0
Syntax
public interface IReadWriteBinding : IReadBinding, 
	IDisposable, IWriteBinding

The IReadWriteBinding type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetReadChannelSourceAsync
Gets a channel source for read operations.
(Inherited from IReadBinding.)
Public methodGetWriteChannelSourceAsync
Gets a channel source for write operations.
(Inherited from IWriteBinding.)
Top
Properties
  NameDescription
Public propertyReadPreference
Gets the read preference.
(Inherited from IReadBinding.)
Top
See Also