Table of Contents

Constructor CoreSession

Namespace
MongoDB.Driver.Core.Bindings
Assembly
MongoDB.Driver.Core.dll

CoreSession(ICluster, ICoreServerSession, CoreSessionOptions)

Initializes a new instance of the CoreSession class.

[Obsolete("This constructor is deprecated. Avoid using CoreSession directly.")]
public CoreSession(ICluster cluster, ICoreServerSession serverSession, CoreSessionOptions options)

Parameters

cluster ICluster

The cluster.

serverSession ICoreServerSession

The server session.

options CoreSessionOptions

The options.