Table of Contents

Class CoreTransaction

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

The state of a transaction.

public class CoreTransaction
Inheritance
CoreTransaction
Inherited Members

Constructors

CoreTransaction(long, TransactionOptions)

Initializes a new instance of the CoreTransaction class.

Properties

IsEmpty

Gets a value indicating whether the transaction is empty.

PinnedChannel

Gets pinned channel for the current transaction. Value has meaning if and only if a transaction is in progress.

PinnedServer

Gets or sets pinned server for the current transaction. Value has meaning if and only if a transaction is in progress.

RecoveryToken

Gets the recovery token used in sharded transactions.

State

Gets the transaction state.

TransactionNumber

Gets the transaction number.

TransactionOptions

Gets the transaction options.