Skip to content

ITransactionalStateStorageEvents<TState>.Prepare(long, Guid, DateTime, ParticipantId, TState)

Prepare(long, Guid, DateTime, ParticipantId, TState)

abstract
public abstract void Prepare(long sequenceNumber, Guid transactionId, DateTime timestamp, ParticipantId transactionManager, TState state)
Adds or replaces a prepared state version.

Parameters

sequenceNumberlong
The local sequence number assigned to the transaction.
transactionIdGuid
The transaction identifier.
timestampDateTime
The transaction commit timestamp.
transactionManagerParticipantId
The transaction manager coordinating the transaction.
stateTState
The state produced by the transaction.