Table of Contents

Class WireFormattingException

Namespace
RabbitMQ.Client.Exceptions
Assembly
RabbitMQ.Client.dll

Thrown when the wire-formatting code cannot encode a particular .NET value to AMQP protocol format.

[Serializable]
public class WireFormattingException : ProtocolViolationException, ISerializable
Inheritance
WireFormattingException
Implements
Inherited Members

Constructors

WireFormattingException(string)

Construct a WireFormattingException with no particular offender (i.e. null)

public WireFormattingException(string message)

Parameters

message string

WireFormattingException(string, object?)

Construct a WireFormattingException with the given offender

public WireFormattingException(string message, object? offender)

Parameters

message string
offender object

Properties

Offender

Object which this exception is complaining about; may be null if no particular offender exists

public object? Offender { get; }

Property Value

object