NatsCommandQueue Constructor
Definition
- Namespace
- Savvyio.Extensions.NATS.Commands
- Assemblies
- Savvyio.Extensions.NATS.dll
NatsCommandQueue(IMarshaller, NatsCommandQueueOptions)
Initializes a new instance of the NatsCommandQueue class.
public NatsCommandQueue(IMarshaller marshaller, NatsCommandQueueOptions options)
Parameters
marshallerIMarshallerThe marshaller used for serializing and deserializing messages.
optionsNatsCommandQueueOptionsThe NatsCommandQueueOptions used to configure this instance.
Exceptions
- ArgumentNullException
marshallercannot be null - or -optionscannot be null.- ArgumentException
optionsare not in a valid state.