Skip to content

TransactionContext.CurrentTransactionId

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.