Table of Contents

Class MalformedFrameException

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

Thrown when frame parsing code detects an error in the wire-protocol encoding of a frame.

public class MalformedFrameException : HardProtocolException, ISerializable, _Exception
Inheritance
MalformedFrameException
Implements
Inherited Members

Remarks

For example, potential MalformedFrameException conditions include frames too short, frames missing their end marker, and invalid protocol negotiation headers.

Constructors

MalformedFrameException(string)

public MalformedFrameException(string message)

Parameters

message string

MalformedFrameException(string, bool)

public MalformedFrameException(string message, bool canShutdownCleanly)

Parameters

message string
canShutdownCleanly bool

Properties

ReplyCode

Retrieve the reply code to use in a connection/channel close method.

public override ushort ReplyCode { get; }

Property Value

ushort