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 Class Reference

The IEventStore<TAuthenticationToken> gave events out of order or an expected IEvent<TAuthenticationToken> with a specific version number wasn't provided. More...

+ Inheritance diagram for Cqrs.Domain.Exceptions.EventsOutOfOrderException:

Public Member Functions

 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. More...
 

Properties

Guid Id [get, set]
 The identifier of the IAggregateRoot<TAuthenticationToken> that had out of order IEvent<TAuthenticationToken>. More...
 
Type AggregateType [get, set]
 The Type of the IAggregateRoot<TAuthenticationToken> that had out of order IEvent<TAuthenticationToken>. More...
 
int CurrentVersion [get, set]
 The version number the IAggregateRoot<TAuthenticationToken> was at when it received an out of order IEvent<TAuthenticationToken>. More...
 
int ProvidedEventVersion [get, set]
 The version number the IEvent<TAuthenticationToken> that was provided, that was out of order. More...
 

Detailed Description

The IEventStore<TAuthenticationToken> gave events out of order or an expected IEvent<TAuthenticationToken> with a specific version number wasn't provided.