Class ProtocolException
- Namespace
- RabbitMQ.Client.Exceptions
- Assembly
- RabbitMQ.Client.dll
Instances of subclasses of subclasses HardProtocolException and SoftProtocolException are thrown in situations when we detect a problem with the connection-, channel- or wire-level parts of the AMQP protocol.
public abstract class ProtocolException : RabbitMQClientException, ISerializable, _Exception
- Inheritance
-
ProtocolException
- Implements
- Derived
- Inherited Members
Constructors
ProtocolException(string)
protected ProtocolException(string message)
Parameters
message
string
Properties
ReplyCode
Retrieve the reply code to use in a connection/channel close method.
public abstract ushort ReplyCode { get; }
Property Value
ShutdownReason
Retrieve the shutdown details to use in a connection/channel close method. Defaults to using ShutdownInitiator.Library, and this.ReplyCode and this.Message as the reply code and text, respectively.
public virtual ShutdownEventArgs ShutdownReason { get; }