Class UnhandledMessageException
- Namespace
- Silverback.Messaging.Publishing
- Assembly
- Silverback.Core.dll
The exception that is thrown when some published messages aren't handled by any registered subscriber.
[ExcludeFromCodeCoverage]
public class UnhandledMessageException : SilverbackException, ISerializable
- Inheritance
-
UnhandledMessageException
- Implements
- Inherited Members
Constructors
UnhandledMessageException()
Initializes a new instance of the UnhandledMessageException class.
public UnhandledMessageException()
UnhandledMessageException(object)
Initializes a new instance of the UnhandledMessageException class with the specified message.
public UnhandledMessageException(object unhandledMessage)
Parameters
unhandledMessageobjectThe message that wasn't handled.
UnhandledMessageException(string)
Initializes a new instance of the UnhandledMessageException class with the specified message.
public UnhandledMessageException(string message)
Parameters
messagestringThe exception message.
UnhandledMessageException(string, Exception)
Initializes a new instance of the UnhandledMessageException class with the specified message and inner exception.
public UnhandledMessageException(string message, Exception innerException)
Parameters
Properties
UnhandledMessage
Gets the message that wasn't handled.
public object? UnhandledMessage { get; }