Note: This API is now obsolete.
Namespace:
MongoDB.Driver.Core.Bindings
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax [ObsoleteAttribute("This constructor is deprecated. Avoid using CoreSession directly.")]
public CoreSession(
ICluster cluster,
ICoreServerSession serverSession,
CoreSessionOptions options
)
<ObsoleteAttribute("This constructor is deprecated. Avoid using CoreSession directly.")>
Public Sub New (
cluster As ICluster,
serverSession As ICoreServerSession,
options As CoreSessionOptions
)
[<ObsoleteAttribute("This constructor is deprecated. Avoid using CoreSession directly.")>]
new :
cluster : ICluster *
serverSession : ICoreServerSession *
options : CoreSessionOptions -> CoreSession
Parameters
- cluster
- Type: MongoDB.Driver.Core.ClustersICluster
The cluster. - serverSession
- Type: MongoDB.DriverICoreServerSession
The server session. - options
- Type: MongoDB.Driver.Core.BindingsCoreSessionOptions
The options.
See Also