Table of Contents

Class MessagePackSerializationException

Namespace
Nerdbank.MessagePack
Assembly
Nerdbank.MessagePack.dll

Represents errors that occur during MessagePack serialization.

public class MessagePackSerializationException : Exception, ISerializable
Inheritance
MessagePackSerializationException
Implements
Inherited Members

Constructors

MessagePackSerializationException()

Initializes a new instance of the MessagePackSerializationException class.

public MessagePackSerializationException()

MessagePackSerializationException(string?)

Initializes a new instance of the MessagePackSerializationException class with a specified error message.

public MessagePackSerializationException(string? message)

Parameters

message string

The message that describes the error.

MessagePackSerializationException(string?, Exception?)

Initializes a new instance of the MessagePackSerializationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public MessagePackSerializationException(string? message, Exception? innerException)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.