Table of Contents

Constructor CoreSessionOptions

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

CoreSessionOptions(bool, bool, TransactionOptions, bool)

Initializes a new instance of the CoreSessionOptions class.

public CoreSessionOptions(bool isCausallyConsistent = false, bool isImplicit = false, TransactionOptions defaultTransactionOptions = null, bool isSnapshot = false)

Parameters

isCausallyConsistent bool

if set to true this session is causally consistent]

isImplicit bool

if set to true this session is an implicit session.

defaultTransactionOptions TransactionOptions

The default transaction options.

isSnapshot bool

if set to true this session is a snapshot session.