AmazonCommandQueue Constructor
Definition
- Assemblies
- Savvyio.Extensions.DependencyInjection.SimpleQueueService.dll
AmazonCommandQueue(IMarshaller, AmazonCommandQueueOptions<TMarker>)
Initializes a new instance of the AmazonCommandQueue<TMarker> class.
public AmazonCommandQueue(IMarshaller marshaller, AmazonCommandQueueOptions<TMarker> options)
Parameters
marshallerIMarshallerThe IMarshaller that is used when converting ICommand implementations to messages.
optionsAmazonCommandQueueOptions<TMarker>The AmazonCommandQueueOptions<TMarker> used to configure this instance.
Exceptions
- ArgumentNullException
marshallercannot be null - or -optionscannot be null.- ArgumentException
optionsare not in a valid state.