Class ProduceException
The exception that is thrown by the IProducer when the message cannot be produced or the message broker didn't acknowledge it.
Implements
Inherited Members
Namespace: Silverback.Messaging.Broker
Assembly: Silverback.Integration.dll
Syntax
[ExcludeFromCodeCoverage]
public class ProduceException : SilverbackException, ISerializable
Constructors
ProduceException()
Initializes a new instance of the ProduceException class.
Declaration
public ProduceException()
ProduceException(string)
Initializes a new instance of the ProduceException class with the specified message.
Declaration
public ProduceException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
ProduceException(string, Exception)
Initializes a new instance of the ProduceException class with the specified message and inner exception.
Declaration
public ProduceException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
| Exception | innerException | The inner exception. |