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.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
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