Edit

Share via


ITransactionAgent.Resolve Method

Definition

Overloads

Resolve(ITransactionInfo)

Attempt to Resolve a transaction. Will commit or abort transaction

Resolve(TransactionInfo)

Attempt to Resolve a transaction. Will commit or abort transaction

Resolve(ITransactionInfo)

Source:
ITransactionAgent.cs

Attempt to Resolve a transaction. Will commit or abort transaction

public System.Threading.Tasks.Task<Orleans.Transactions.TransactionalStatus> Resolve (Orleans.Transactions.ITransactionInfo transactionInfo);
public System.Threading.Tasks.Task<(Orleans.Transactions.TransactionalStatus Status, Exception exception)> Resolve (Orleans.Transactions.ITransactionInfo transactionInfo);
abstract member Resolve : Orleans.Transactions.ITransactionInfo -> System.Threading.Tasks.Task<Orleans.Transactions.TransactionalStatus>
abstract member Resolve : Orleans.Transactions.ITransactionInfo -> System.Threading.Tasks.Task<ValueTuple<Orleans.Transactions.TransactionalStatus, Exception>>
Public Function Resolve (transactionInfo As ITransactionInfo) As Task(Of TransactionalStatus)
Public Function Resolve (transactionInfo As ITransactionInfo) As Task(Of ValueTuple(Of TransactionalStatus, Exception))

Parameters

transactionInfo
ITransactionInfo

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.

Applies to

Resolve(TransactionInfo)

Attempt to Resolve a transaction. Will commit or abort transaction

public System.Threading.Tasks.Task<(Orleans.Transactions.TransactionalStatus Status, Exception exception)> Resolve (Orleans.Transactions.TransactionInfo transactionInfo);
abstract member Resolve : Orleans.Transactions.TransactionInfo -> System.Threading.Tasks.Task<ValueTuple<Orleans.Transactions.TransactionalStatus, Exception>>
Public Function Resolve (transactionInfo As TransactionInfo) As Task(Of ValueTuple(Of TransactionalStatus, Exception))

Parameters

transactionInfo
TransactionInfo

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.

Applies to