Table of Contents

Interface IWriteBinding

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

Represents a binding that determines which channel source gets used for write operations.

[Obsolete("This interface will be made internal in a later release.")]
public interface IWriteBinding : IBinding, IDisposable
Inherited Members

Methods

GetWriteChannelSource(IMayUseSecondaryCriteria, CancellationToken)

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

GetWriteChannelSource(IReadOnlyCollection<ServerDescription>, IMayUseSecondaryCriteria, CancellationToken)

Gets a channel source for write operations that may use a secondary and deprioritizes servers in the provided collection.

GetWriteChannelSource(IReadOnlyCollection<ServerDescription>, CancellationToken)

Gets a channel source for write operations while deprioritizing servers in the provided collection.

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(IReadOnlyCollection<ServerDescription>, IMayUseSecondaryCriteria, CancellationToken)

Gets a channel source for write operations that may use a secondary and deprioritizes servers in the provided collection.

GetWriteChannelSourceAsync(IReadOnlyCollection<ServerDescription>, CancellationToken)

Gets a channel source for write operations while deprioritizing servers in the provided collection.

GetWriteChannelSourceAsync(CancellationToken)

Gets a channel source for write operations.