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