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.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
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