Table of Contents

NatsCommandQueue Constructor

Definition

NatsCommandQueue(IMarshaller, NatsCommandQueueOptions<TMarker>)

Initializes a new instance of the NatsCommandQueue<TMarker> class.

public NatsCommandQueue(IMarshaller marshaller, NatsCommandQueueOptions<TMarker> options)

Parameters

marshaller IMarshaller

The marshaller used for serializing and deserializing messages.

options NatsCommandQueueOptions<TMarker>

The options used to configure the NATS command queue.

Exceptions

ArgumentNullException

marshaller cannot be null -or- options cannot be null.

ArgumentException

options are not in a valid state.