共用方式為


ITransactionAgent.Resolve 方法

定義

多載

Resolve(ITransactionInfo)

嘗試解析交易。 認可或中止交易

Resolve(TransactionInfo)

嘗試解析交易。 認可或中止交易

Resolve(ITransactionInfo)

來源:
ITransactionAgent.cs

嘗試解析交易。 認可或中止交易

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))

參數

transactionInfo
ITransactionInfo

交易資訊

傳回

如果交易成功認可,則為 null,否則為例外狀況。 如果例外狀況是一個為一般,則表示無法判斷 Commit 的結果;否則,交易保證不會生效。

適用於

Resolve(TransactionInfo)

嘗試解析交易。 認可或中止交易

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))

參數

transactionInfo
TransactionInfo

交易資訊

傳回

如果交易成功認可,則為 null,否則為例外狀況。 如果例外狀況是一個為一般,則表示無法判斷 Commit 的結果;否則,交易保證不會生效。

適用於