Table of Contents

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

unhandledMessage object

The message that wasn't handled.

UnhandledMessageException(string)

Initializes a new instance of the UnhandledMessageException class with the specified message.

public UnhandledMessageException(string message)

Parameters

message string

The 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

message string

The exception message.

innerException Exception

The inner exception.

Properties

UnhandledMessage

Gets the message that wasn't handled.

public object? UnhandledMessage { get; }

Property Value

object