Skip to content

ITransactionAgent.Resolve(TransactionInfo)

Resolve(TransactionInfo)

abstract
public abstract Task<(TransactionalStatus Status, Exception exception)> ITransactionAgent.Resolve(TransactionInfo transactionInfo)
Attempt to Resolve a transaction. Will commit or abort transaction

Parameters

transactionInfoTransactionInfo
transaction info

Returns

null if the transaction committed successfully, or an exception otherwise. If the exception is OrleansTransactionInDoubtException, it means the outcome of the Commit cannot be determined; otherwise, the transaction is guaranteed to not have taken effect.