Table of Contents

Class MessageValidationException

Namespace
Silverback.Messaging.Validation
Assembly
Silverback.Integration.dll

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

[ExcludeFromCodeCoverage]
public class MessageValidationException : SilverbackException, ISerializable
Inheritance
MessageValidationException
Implements
Inherited Members

Constructors

MessageValidationException()

Initializes a new instance of the MessageValidationException class.

public MessageValidationException()

MessageValidationException(string)

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

public MessageValidationException(string message)

Parameters

message string

The exception message.

MessageValidationException(string, Exception)

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

public MessageValidationException(string message, Exception innerException)

Parameters

message string

The exception message.

innerException Exception

The inner exception.