Skip to content

TransactionInfo Constructors

Carries the identity, timing, participant access, and commit state of a transaction.

TransactionInfo(Guid, DateTime, DateTime, bool)

View source
public TransactionInfo(Guid id, DateTime timeStamp, DateTime priority, bool readOnly = false)
Initializes transaction information with its identity and scheduling timestamps.

Parameters

idGuid
The unique transaction identifier.
timeStampDateTime
The initial causal timestamp used to determine the commit timestamp.
priorityDateTime
The timestamp used to order the transaction when acquiring participant locks.
readOnlybool
Whether the transaction is declared read-only.

TransactionInfo(TransactionInfo)

View source
public TransactionInfo(TransactionInfo other)
Initializes a transaction branch with the transaction-wide metadata from another instance.

Parameters

otherTransactionInfo
The transaction information to copy.