private async Task ScheduleInternal(UploadProcessingMessage message)
 {
     var client            = this.clients[message.Priority];
     var serializedMessage = JsonConvert.SerializeObject(message);
     var queueMessage      = new CloudQueueMessage(serializedMessage);
     await client.AddMessageAsync(queueMessage);
 }
 /// <inheritdoc />
 public async Task ScheduleAsync(UploadProcessingMessage message)
 {
     using (this.counterProvider.Measure(Counter.ScheduleUpload))
     {
         await this.ScheduleInternal(message);
     }
 }
 /// <inheritdoc />
 public Task ScheduleAsync(UploadProcessingMessage message)
 {
     return(Task.CompletedTask);
 }