ITransactionAgent.Resolve Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.