![]() |
CQRS.NET
2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
Cqrs.Domain.Exceptions.EventsOutOfOrderException.EventsOutOfOrderException | ( | Guid | id, |
Type | aggregateType, | ||
int | currentVersion, | ||
int | providedEventVersion | ||
) |
Instantiate a new instance of EventsOutOfOrderException with the provided identifier of the IAggregateRoot<TAuthenticationToken> that had out of order IEvent<TAuthenticationToken>. and the currentVersion the IAggregateRoot<TAuthenticationToken> was at and the providedEventVersion the event version that was provided.
id | The identifier of the IAggregateRoot<TAuthenticationToken> that had events. |
aggregateType | The Type of the IAggregateRoot<TAuthenticationToken> that the IEvent<TAuthenticationToken> was trying to be saved on. |
currentVersion | The version number the IAggregateRoot<TAuthenticationToken> was at when it received an out of order IEvent<TAuthenticationToken>. |
providedEventVersion | The version number the IEvent<TAuthenticationToken> that was provided, that was out of order. |