ChannelPinningHelperCreateReadWriteBinding Method |
Create a readwrite binding handle.
Namespace:
MongoDB.Driver.Core
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax public static IReadWriteBindingHandle CreateReadWriteBinding(
ICluster cluster,
ICoreSessionHandle session
)
Public Shared Function CreateReadWriteBinding (
cluster As ICluster,
session As ICoreSessionHandle
) As IReadWriteBindingHandle
static member CreateReadWriteBinding :
cluster : ICluster *
session : ICoreSessionHandle -> IReadWriteBindingHandle
Parameters
- cluster
- Type: MongoDB.Driver.Core.ClustersICluster
The cluster. - session
- Type: MongoDB.Driver.Core.BindingsICoreSessionHandle
The session.
Return Value
Type:
IReadWriteBindingHandleAn effective read write binging.
See Also