PrepareAndCommit(string, Guid, AccessCounter, DateTime, List<ParticipantId>, int)
abstract
[Orleans.Concurrency.AlwaysInterleave][Orleans.Transaction(0)][Orleans.Alias(PrepareAndCommit)]public abstract Task<TransactionalStatus> PrepareAndCommit(string resourceId, Guid transactionId, AccessCounter accessCount, DateTime timeStamp, List<ParticipantId> writeResources, int totalParticipants) Requests that the specified transaction manager prepare and commit a transaction.
Parameters
resourceIdstring- The identifier of the transaction manager resource.
transactionIdGuid- The transaction identifier.
accessCountAccessCounter- The number of reads and writes performed on the transaction manager by the transaction.
timeStampDateTime- The transaction commit timestamp.
writeResourcesList<ParticipantId>- The participants which wrote during the transaction.
totalParticipantsint- The total number of participants in the transaction.
Returns
A task whose result is the final transaction status.
