PrepareAndCommit(string, Guid, AccessCounter, DateTime, List<ParticipantId>, int)
public Task<TransactionalStatus> PrepareAndCommit(string resourceId, Guid transactionId, AccessCounter accessCount, DateTime timeStamp, List<ParticipantId> writeResources, int totalResources) 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.
totalResourcesint- The total number of participants in the transaction.
Returns
A task whose result is the final transaction status.
