Class MessageValidationException
The exception that is thrown when the message is not valid and the validation mode is
Throw
Implements
Inherited Members
Namespace: Silverback.Messaging.Validation
Assembly: Silverback.Integration.dll
Syntax
[Serializable]
public class MessageValidationException : SilverbackException, ISerializable
Constructors
| Improve this doc View sourceMessageValidationException()
Initializes a new instance of the Message
Declaration
public MessageValidationException()
MessageValidationException(SerializationInfo, StreamingContext)
Initializes a new instance of the Message
Declaration
protected MessageValidationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
Serialization |
info | The Serialization |
Streaming |
context | The Streaming |
MessageValidationException(string)
Initializes a new instance of the Message
Declaration
public MessageValidationException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The exception message. |
MessageValidationException(string, Exception)
Initializes a new instance of the Message
Declaration
public MessageValidationException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | The exception message. |
Exception | innerException | The inner exception. |