Click or drag to resize

IReadWriteBindingHandle Interface

Represents a handle to a read-write binding.

Namespace:  MongoDB.Driver.Core.Bindings
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax
public interface IReadWriteBindingHandle : IReadWriteBinding, 
	IReadBinding, IBinding, IDisposable, IWriteBinding, IReadBindingHandle, 
	IWriteBindingHandle

The IReadWriteBindingHandle 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
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodFork
Returns a new handle to the underlying read-write binding.
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(CancellationToken)
Gets a channel source for write operations.
(Inherited from IWriteBinding.)
Public methodGetWriteChannelSource(IMayUseSecondaryCriteria, CancellationToken)
Gets a channel source for write operations that may use a secondary.
(Inherited from IWriteBinding.)
Public methodGetWriteChannelSourceAsync(CancellationToken)
Gets a channel source for write operations.
(Inherited from IWriteBinding.)
Public methodGetWriteChannelSourceAsync(IMayUseSecondaryCriteria, CancellationToken)
Gets a channel source for write operations that may use a secondary.
(Inherited from IWriteBinding.)
Top
See Also