Class WireFormattingException
Thrown when the wire-formatting code cannot encode a particular .NET value to AMQP protocol format.
Inheritance
WireFormattingException
Inherited Members
Namespace: RabbitMQ.Client.Exceptions
Assembly: RabbitMQ.Client.dll
Syntax
[Serializable]
public class WireFormattingException : ProtocolViolationException, ISerializable, _Exception
Constructors
| Edit this page View SourceWireFormattingException(string)
Construct a WireFormattingException with no particular offender (i.e. null)
Declaration
public WireFormattingException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
WireFormattingException(string, object)
Construct a WireFormattingException with the given offender
Declaration
public WireFormattingException(string message, object offender)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
object | offender |
Properties
| Edit this page View SourceOffender
Object which this exception is complaining about; may be null if no particular offender exists
Declaration
public object Offender { get; }
Property Value
Type | Description |
---|---|
object |