Skip to content

TransactionContext Properties

Provides access to the transaction associated with the current asynchronous execution context.

CurrentTransactionId

staticget
View source
public static string CurrentTransactionId
Gets the identifier of the current transaction.

Property value

The current transaction identifier.

Exceptions

Orleans.Transactions.OrleansTransactionException
There is no transaction in the current context.