Class RabbitMessageReturnedException
- Namespace
- Steeltoe.Messaging.RabbitMQ.Exceptions
- Assembly
- Steeltoe.Messaging.RabbitMQ.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class RabbitMessageReturnedException : RabbitException, ISerializable
- Inheritance
-
RabbitMessageReturnedException
- Implements
- Inherited Members
Constructors
RabbitMessageReturnedException(string, IMessage, int, string, string, string)
public RabbitMessageReturnedException(string message, IMessage returnedMessage, int replyCode, string replyText, string exchange, string routingKey)
Parameters
messagestringreturnedMessageIMessagereplyCodeintreplyTextstringexchangestringroutingKeystring
Properties
Exchange
public string Exchange { get; }
Property Value
ReplyCode
public int ReplyCode { get; }
Property Value
ReplyText
public string ReplyText { get; }
Property Value
ReturnedMessage
public IMessage ReturnedMessage { get; }
Property Value
RoutingKey
public string RoutingKey { get; }
Property Value
Methods
ToString()
Creates and returns a string representation of the current exception.
public override string ToString()
Returns
- string
A string representation of the current exception.