Modifier

Partager via


ITransactionalResource.Prepare Method

Definition

One-way message sent by TA to all participants except 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

Parameters

transactionId
Guid

the id of the transaction to prepare

accessCount
AccessCounter

number of reads/writes performed on this participant by this transaction

timeStamp
DateTime

the commit timestamp for this transaction

transactionManager
ParticipantId

the transaction manager for this transaction

Returns

Applies to