Class UnitOfWorkCannotSpanEventSequences
- Namespace
- Cratis.Chronicle.Transactions
- Assembly
- Cratis.Chronicle.dll
The exception that is thrown when events for different event sequences are enrolled in the same unit of work.
public class UnitOfWorkCannotSpanEventSequences : Exception, ISerializable
- Inheritance
-
UnitOfWorkCannotSpanEventSequences
- Implements
- Inherited Members
- Extension Methods
Constructors
UnitOfWorkCannotSpanEventSequences(EventSequenceId, EventSequenceId)
The exception that is thrown when events for different event sequences are enrolled in the same unit of work.
public UnitOfWorkCannotSpanEventSequences(EventSequenceId enrolledEventSequenceId, EventSequenceId attemptedEventSequenceId)
Parameters
enrolledEventSequenceIdEventSequenceIdThe event sequence the unit of work is already bound to.
attemptedEventSequenceIdEventSequenceIdThe different event sequence that was attempted.