共用方式為


ITransactionalResource.Cancel(Guid, DateTime, TransactionalStatus) 方法

定義

TM 傳送給參與者的單向訊息,讓他們知道交易已中止。

public System.Threading.Tasks.Task Cancel (Guid transactionId, DateTime timeStamp, Orleans.Transactions.TransactionalStatus status);
abstract member Cancel : Guid * DateTime * Orleans.Transactions.TransactionalStatus -> System.Threading.Tasks.Task
Public Function Cancel (transactionId As Guid, timeStamp As DateTime, status As TransactionalStatus) As Task

參數

transactionId
Guid

中止交易的識別碼

timeStamp
DateTime

中止交易的認可時間戳記

status
TransactionalStatus

中止的原因

傳回

適用於