AzureEventBus Constructor
Definition
- Assemblies
- Savvyio.Extensions.DependencyInjection.QueueStorage.dll
AzureEventBus(IMarshaller, AzureQueueOptions<TMarker>, AzureEventBusOptions<TMarker>)
Initializes a new instance of the AzureEventBus<TMarker> class.
public AzureEventBus(IMarshaller marshaller, AzureQueueOptions<TMarker> azureQueueOptions, AzureEventBusOptions<TMarker> azureEventBusOptions)
Parameters
marshallerIMarshallerThe IMarshaller that is used when converting IIntegrationEvent implementations to messages.
azureQueueOptionsAzureQueueOptions<TMarker>The AzureQueueOptions<TMarker> used to configure this instance.
azureEventBusOptionsAzureEventBusOptions<TMarker>The AzureEventBusOptions<TMarker> used to configure this instance.
Exceptions
- ArgumentNullException
marshallercannot be null - or -azureEventBusOptionscannot be null.- ArgumentException
azureEventBusOptionsare not in a valid state.