Table of Contents

Class PublishException

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

Class for exceptions related to publisher confirmations or the mandatory flag.

public class PublishException : RabbitMQClientException, ISerializable
Inheritance
PublishException
Implements
Inherited Members

Constructors

PublishException(ulong, bool)

public PublishException(ulong publishSequenceNumber, bool isReturn)

Parameters

publishSequenceNumber ulong
isReturn bool

Properties

IsReturn

true if this exception is due to a basic.return

public bool IsReturn { get; }

Property Value

bool

PublishSequenceNumber

Retrieve the publish sequence number.

public ulong PublishSequenceNumber { get; }

Property Value

ulong