public AzureQueueReceiver(AzureBusConfiguration configuration) { _configuration = configuration; QueueClient = new QueueClient(_configuration.ConnectionString, typeof(TQueue).Name, ReceiveMode.ReceiveAndDelete); QueueClient.RegisterMessageHandler(Handler, ExceptionReceivedHandler); }
public AzureQueueSender(AzureBusConfiguration configuration) { _configuration = configuration; QueueClient = new QueueClient(_configuration.ConnectionString, typeof(TQueue).Name, ReceiveMode.ReceiveAndDelete); }