SagaAlreadyStartedExceptionType

PackageFCQRS
The aggregate stored nothing for a command: one of its events would start a saga that the command's correlation ID already started for another event. A saga starts once per correlation ID and aggregate, so its second start would be lost.

Specification

Kind
Type
Members
4
Examples
0
``.ctor``Signature
SagaAlreadyStartedException(aggregateId, correlationId, saga)
CorrelationIdSignature
this.CorrelationId
AggregateIdSignature
this.AggregateId
SagaSignature
this.Saga

Summary

NameSignatureSynopsis
``.ctor``SagaAlreadyStartedException(aggregateId, correlationId, saga)No description available.
CorrelationIdthis.CorrelationIdThe correlation ID the command reused.
AggregateIdthis.AggregateIdThe target aggregate's entity ID.
Sagathis.SagaThe name of the saga that was already started.

``.ctor``

SagaAlreadyStartedException(aggregateId, correlationId, saga)
Member

Parameters

NameTypeDescription
aggregateIdstring
correlationIdstring
sagastring

Returns

SagaAlreadyStartedException

CorrelationId

this.CorrelationId
Member
The correlation ID the command reused.

Returns

string

AggregateId

this.AggregateId
Member
The target aggregate's entity ID.

Returns

string

Saga

this.Saga
Member
The name of the saga that was already started.

Returns

string