RabbitMqMessage Constructor
Definition
- Namespace
- Savvyio.Extensions.RabbitMQ
- Assemblies
- Savvyio.Extensions.RabbitMQ.dll
RabbitMqMessage(IMarshaller, RabbitMqMessageOptions)
Initializes a new instance of the RabbitMqMessage class with the specified marshaller and options.
protected RabbitMqMessage(IMarshaller marshaller, RabbitMqMessageOptions options)
Parameters
marshallerIMarshallerThe marshaller used for serializing and deserializing messages.
optionsRabbitMqMessageOptionsThe options used to configure the RabbitMQ connection.
Exceptions
- ArgumentNullException
marshallercannot be null -or-optionscannot be null.- ArgumentException
optionsare not in a valid state.