Click or drag to resize

ChannelPinningHelperCreateReadWriteBinding Method

Create a readwrite binding handle.

Namespace:  MongoDB.Driver.Core
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public static IReadWriteBindingHandle CreateReadWriteBinding(
	ICluster cluster,
	ICoreSessionHandle session
)

Parameters

cluster
Type: MongoDB.Driver.Core.ClustersICluster
The cluster.
session
Type: MongoDB.Driver.Core.BindingsICoreSessionHandle
The session.

Return Value

Type: IReadWriteBindingHandle
An effective read write binging.
See Also