AggregateVersionConflictExceptionType
PackageFCQRS
The aggregate rejected a conditional command before running its handler because
its persisted version differed from the caller's expected version.
Specification
Kind
Type
Members
4
Examples
0
``.ctor``Signature
AggregateVersionConflictException(aggregateId, expectedVersion, actualVersion)
ExpectedVersionSignature
this.ExpectedVersion
AggregateIdSignature
this.AggregateId
ActualVersionSignature
this.ActualVersion
Summary
| Name | Signature | Synopsis |
|---|---|---|
| ``.ctor`` | AggregateVersionConflictException(aggregateId, expectedVersion, actualVersion) | No description available. |
| ExpectedVersion | this.ExpectedVersion | The persisted version required by the caller. |
| AggregateId | this.AggregateId | The target aggregate's entity ID. |
| ActualVersion | this.ActualVersion | The persisted version observed when the aggregate checked the command. |
Parameters
| Name | Type | Description |
|---|---|---|
| aggregateId | string | |
| expectedVersion | int64 | |
| actualVersion | int64 |
Returns
AggregateVersionConflictException
The persisted version required by the caller.
Returns
int64