Click or drag to resize

CoreSessionOptions Constructor

Initializes a new instance of the CoreSessionOptions class.

Namespace:  MongoDB.Driver.Core.Bindings
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public CoreSessionOptions(
	bool isCausallyConsistent = false,
	bool isImplicit = false,
	TransactionOptions defaultTransactionOptions = null
)

Parameters

isCausallyConsistent (Optional)
Type: SystemBoolean
if set to true this session is causally consistent]
isImplicit (Optional)
Type: SystemBoolean
if set to true this session is an implicit session.
defaultTransactionOptions (Optional)
Type: MongoDB.DriverTransactionOptions
The default transaction options.
See Also