Table of Contents

Class TransactionOptions

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

Transaction options.

public class TransactionOptions
Inheritance
TransactionOptions
Inherited Members

Constructors

TransactionOptions(Optional<ReadConcern>, Optional<ReadPreference>, Optional<WriteConcern>, Optional<TimeSpan?>)

Initializes a new instance of the TransactionOptions class.

Properties

MaxCommitTime

Gets the max commit time.

ReadConcern

Gets the read concern.

ReadPreference

Gets the read preference.

WriteConcern

Gets the write concern.

Methods

With(Optional<ReadConcern>, Optional<ReadPreference>, Optional<WriteConcern>, Optional<TimeSpan?>)

Returns a new TransactionOptions with some values changed.