Skip to content

TransactionInfo Properties

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

Id

get
View source
public string Id
Gets the string representation of the transaction identifier.

IsReadOnly

get
View source
[Orleans.Id(3)]
public bool IsReadOnly
Gets a value indicating whether the transaction is declared read-only.

OriginalException

getset
View source
[Orleans.Id(4)]
public byte[]? OriginalException
Gets or sets the serialized first exception which requires the transaction to abort.

Participants

get
View source
[Orleans.Id(5)]
public Dictionary<ParticipantId, AccessCounter> Participants
Gets participant access counts keyed by participant identifier.

Priority

getset
View source
[Orleans.Id(2)]
public DateTime Priority
Gets or sets the timestamp used to order the transaction when acquiring participant locks.

TimeStamp

getset
View source
[Orleans.Id(1)]
public DateTime TimeStamp
Gets or sets the transaction's causal timestamp, which advances to include participant timestamps.

TryToCommit

get
View source
[Orleans.Id(6)]
public bool TryToCommit
Gets a value indicating whether the transaction delegate voted to commit.

UseExclusiveLock

getset
View source
[Orleans.Id(7)]
public bool UseExclusiveLock
Gets or sets a value indicating whether participant reads acquire exclusive locks.