共用方式為


ITransactionalResource.Prepare 方法

定義

TA 傳送給 TM 以外的所有參與者的單向訊息。

public System.Threading.Tasks.Task Prepare (Guid transactionId, Orleans.Transactions.Abstractions.AccessCounter accessCount, DateTime timeStamp, Orleans.Transactions.ParticipantId transactionManager);
abstract member Prepare : Guid * Orleans.Transactions.Abstractions.AccessCounter * DateTime * Orleans.Transactions.ParticipantId -> System.Threading.Tasks.Task
Public Function Prepare (transactionId As Guid, accessCount As AccessCounter, timeStamp As DateTime, transactionManager As ParticipantId) As Task

參數

transactionId
Guid

要準備的交易識別碼

accessCount
AccessCounter

此交易在此參與者上執行的讀取/寫入數目

timeStamp
DateTime

此交易的認可時間戳記

transactionManager
ParticipantId

此交易的交易管理員

傳回

適用於