/// <summary> /// Creates an instance of AzureQueueProvider /// </summary> /// <param name="connectionString"> /// Storage connection string /// </param> /// <param name="queueName"> /// Name of the queue /// </param> internal AzureQueueProvider(string connectionString, string queueName) { CloudQueueClient queueClient = GetCloudQueueClient(connectionString, new ExponentialRetry(TimeSpan.FromSeconds(10), 5)); queueClient.CreateQueueIfNotExist(queueName); queue = queueClient.GetQueueReference(queueName); }