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.

◆ DuplicateCreateCommandException() [3/3]

Cqrs.Domain.Exceptions.DuplicateCreateCommandException.DuplicateCreateCommandException ( Type  commandType,
Guid  commandId,
Exception  exception 
)

Instantiate a new instance of DuplicateCreateCommandException with the commandType and commandId that was issued as well as a reference to the inner exception that is the cause of this Exception.

Parameters
commandTypeThe Type of the ICommand<TAuthenticationToken> that was issued.
commandIdThe ICommand<TAuthenticationToken>.Id of the ICommand<TAuthenticationToken> that was issued.
exceptionThe Exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner Exception is specified.