Table of Contents

Class ReadWriteBindingHandle

Namespace
MongoDB.Driver.Core.Bindings
Assembly
MongoDB.Driver.Core.dll

Represents a handle to a read-write binding.

public sealed class ReadWriteBindingHandle : IReadWriteBindingHandle, IReadWriteBinding, IReadBindingHandle, IReadBinding, IWriteBindingHandle, IWriteBinding, IBinding, IDisposable
Inheritance
ReadWriteBindingHandle
Implements
Inherited Members

Constructors

ReadWriteBindingHandle(IReadWriteBinding)

Initializes a new instance of the ReadWriteBindingHandle class.

Properties

ReadPreference

Gets the read preference.

Session

Gets the session.

Methods

Dispose()
Fork()

Returns a new handle to the underlying read-write binding.

GetReadChannelSource(CancellationToken)

Gets a channel source for read operations.

GetReadChannelSourceAsync(CancellationToken)

Gets a channel source for read operations.

GetWriteChannelSource(IMayUseSecondaryCriteria, CancellationToken)

Gets a channel source for write operations that may use a secondary.

GetWriteChannelSource(CancellationToken)

Gets a channel source for write operations.

GetWriteChannelSourceAsync(IMayUseSecondaryCriteria, CancellationToken)

Gets a channel source for write operations that may use a secondary.

GetWriteChannelSourceAsync(CancellationToken)

Gets a channel source for write operations.