Class DuplicateMessageException
- Namespace
- Excalibur.Dispatch.Exceptions
- Assembly
- Excalibur.Dispatch.Abstractions.dll
Exception thrown when a duplicate message is detected and
ThrowOnDuplicate is configured as the duplicate behavior.
public sealed class DuplicateMessageException : ApiException, ISerializable
- Inheritance
-
DuplicateMessageException
- Implements
- Inherited Members
- Extension Methods
Constructors
DuplicateMessageException(string)
Initializes a new instance of the DuplicateMessageException class.
public DuplicateMessageException(string messageId)
Parameters
messageIdstringThe ID of the duplicate message.
Properties
MessageId
Gets the ID of the duplicate message.
public string MessageId { get; }