Class MalformedFrameException
Thrown when frame parsing code detects an error in the wire-protocol encoding of a frame.
Inheritance
MalformedFrameException
Inherited Members
Namespace: RabbitMQ.Client.Exceptions
Assembly: RabbitMQ.Client.dll
Syntax
public class MalformedFrameException : HardProtocolException, ISerializable, _Exception
Remarks
For example, potential MalformedFrameException conditions include frames too short, frames missing their end marker, and invalid protocol negotiation headers.
Constructors
| Edit this page View SourceMalformedFrameException(string)
Declaration
public MalformedFrameException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
MalformedFrameException(string, bool)
Declaration
public MalformedFrameException(string message, bool canShutdownCleanly)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
bool | canShutdownCleanly |
Properties
| Edit this page View SourceReplyCode
Retrieve the reply code to use in a connection/channel close method.
Declaration
public override ushort ReplyCode { get; }
Property Value
Type | Description |
---|---|
ushort |