Show / Hide Table of Contents

    Class MessageValidationException

    The exception that is thrown when the message is not valid and the validation mode is ThrowException.

    Inheritance
    object
    Exception
    SilverbackException
    MessageValidationException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetType()
    Exception.TargetSite
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.StackTrace
    Exception.SerializeObjectState
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Silverback.Messaging.Validation
    Assembly: Silverback.Integration.dll
    Syntax
    [ExcludeFromCodeCoverage]
    public class MessageValidationException : SilverbackException, ISerializable

    Constructors

    MessageValidationException()

    Initializes a new instance of the MessageValidationException class.

    Declaration
    public MessageValidationException()

    MessageValidationException(string)

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

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

    The exception message.

    MessageValidationException(string, Exception)

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

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

    The exception message.

    Exception innerException

    The inner exception.

    Implements

    ISerializable
    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini