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- 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
- messagestring
MalformedFrameException(string, bool)
public MalformedFrameException(string message, bool canShutdownCleanly)Parameters
Properties
ReplyCode
Retrieve the reply code to use in a connection/channel close method.
public override ushort ReplyCode { get; }