Click or drag to resize

TransactionOptions Constructor

Initializes a new instance of the TransactionOptions class.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public TransactionOptions(
	Optional<ReadConcern> readConcern = null,
	Optional<ReadPreference> readPreference = null,
	Optional<WriteConcern> writeConcern = null
)

Parameters

readConcern (Optional)
Type: MongoDB.DriverOptionalReadConcern
The read concern.
readPreference (Optional)
Type: MongoDB.DriverOptionalReadPreference
The read preference.
writeConcern (Optional)
Type: MongoDB.DriverOptionalWriteConcern
The write concern.
See Also