CoreSession Constructor (original) (raw)

Initializes a new instance of the CoreSession class.

Namespace: MongoDB.Driver.Core.Bindings
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

C#

VB

F#

Copy

public CoreSession( ICluster cluster, ICoreServerSession serverSession, CoreSessionOptions options )

Public Sub New ( cluster As ICluster, serverSession As ICoreServerSession, options As CoreSessionOptions )

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

Reference

CoreSession Class

MongoDB.Driver.Core.Bindings Namespace