AmazonBus Constructor
Definition
- Namespace
- Savvyio.Extensions.SimpleQueueService
- Assemblies
- Savvyio.Extensions.SimpleQueueService.dll
AmazonBus(IMarshaller, AmazonMessageOptions)
Initializes a new instance of the AmazonBus<TRequest> class.
protected AmazonBus(IMarshaller marshaller, AmazonMessageOptions options)
Parameters
marshallerIMarshallerThe IMarshaller that is used when converting models to messages.
optionsAmazonMessageOptionsThe AmazonMessageOptions used to configure this instance.
Exceptions
- ArgumentNullException
marshallercannot be null - or -optionscannot be null.- ArgumentException
optionsare not in a valid state.