共用方式為


ITransactionalResource.CommitReadOnly(Guid, AccessCounter, DateTime) 方法

定義

TA 傳送給唯讀交易的所有參與者的要求, (一階段認可) 。 參與者在認可或中止讀取之後回應。

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

參數

transactionId
Guid

要準備之交易的識別碼

accessCount
AccessCounter

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

timeStamp
DateTime

此交易的認可時間戳記

傳回

適用於