Click or drag to resize

IWriteBinding Interface

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

Namespace:  MongoDB.Driver.Core.Bindings
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
public interface IWriteBinding : IBinding, 
	IDisposable

The IWriteBinding type exposes the following members.

Properties
  NameDescription
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 methodGetWriteChannelSource(CancellationToken)
Gets a channel source for write operations.
Public methodGetWriteChannelSource(IMayUseSecondaryCriteria, CancellationToken)
Gets a channel source for write operations that may use a secondary.
Public methodGetWriteChannelSourceAsync(CancellationToken)
Gets a channel source for write operations.
Public methodGetWriteChannelSourceAsync(IMayUseSecondaryCriteria, CancellationToken)
Gets a channel source for write operations that may use a secondary.
Top
See Also