Show / Hide Table of Contents

    Class UnhandledMessageException

    The exception that is thrown when some published messages aren't handled by any registered subscriber.

    Inheritance
    object
    Exception
    SilverbackException
    UnhandledMessageException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Silverback.Messaging.Publishing
    Assembly: Silverback.Core.dll
    Syntax
    [Serializable]
    public class UnhandledMessageException : SilverbackException, ISerializable

    Constructors

    | Improve this doc View source

    UnhandledMessageException()

    Initializes a new instance of the UnhandledMessageException class.

    Declaration
    public UnhandledMessageException()
    | Improve this doc View source

    UnhandledMessageException(object)

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

    Declaration
    public UnhandledMessageException(object unhandledMessage)
    Parameters
    Type Name Description
    object unhandledMessage

    The message that wasn't handled.

    | Improve this doc View source

    UnhandledMessageException(SerializationInfo, StreamingContext)

    Initializes a new instance of the UnhandledMessageException class with the serialized data.

    Declaration
    protected UnhandledMessageException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    The SerializationInfo that holds the serialized object data about the exception being thrown.

    StreamingContext context

    The StreamingContext that contains contextual information about the source or destination.

    | Improve this doc View source

    UnhandledMessageException(string)

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

    Declaration
    public UnhandledMessageException(string message)
    Parameters
    Type Name Description
    string message

    The exception message.

    | Improve this doc View source

    UnhandledMessageException(string, Exception)

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

    Declaration
    public UnhandledMessageException(string message, Exception innerException)
    Parameters
    Type Name Description
    string message

    The exception message.

    Exception innerException

    The inner exception.

    Properties

    | Improve this doc View source

    UnhandledMessage

    Gets the message that wasn't handled.

    Declaration
    public object? UnhandledMessage { get; }
    Property Value
    Type Description
    object

    Implements

    ISerializable
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini