コード例 #1
0
        public AzureQueueReceiver(AzureBusConfiguration configuration)
        {
            _configuration = configuration;

            QueueClient = new QueueClient(_configuration.ConnectionString, typeof(TQueue).Name, ReceiveMode.ReceiveAndDelete);
            QueueClient.RegisterMessageHandler(Handler, ExceptionReceivedHandler);
        }
コード例 #2
0
        public AzureQueueSender(AzureBusConfiguration configuration)
        {
            _configuration = configuration;

            QueueClient = new QueueClient(_configuration.ConnectionString, typeof(TQueue).Name, ReceiveMode.ReceiveAndDelete);
        }