Show / Hide Table of Contents

    Class MessageSerializerException

    The exception that is thrown by the IMessageSerializer implementations when the message cannot be serialized or deserialized. This exception is thrown only when a Silverback specific error occurs, other exceptions related to reflection or the underlying serializer are not wrapped.

    Inheritance
    object
    Exception
    SilverbackException
    MessageSerializerException
    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.Serialization
    Assembly: Silverback.Integration.dll
    Syntax
    [Serializable]
    public class MessageSerializerException : SilverbackException, ISerializable

    Constructors

    | Improve this doc View source

    MessageSerializerException()

    Initializes a new instance of the MessageSerializerException class.

    Declaration
    public MessageSerializerException()
    | Improve this doc View source

    MessageSerializerException(SerializationInfo, StreamingContext)

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

    Declaration
    protected MessageSerializerException(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

    MessageSerializerException(string)

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

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

    The exception message.

    | Improve this doc View source

    MessageSerializerException(string, Exception)

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

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

    The exception message.

    Exception innerException

    The inner exception.

    Implements

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