public static IBackgroundJobClient UseQueue([NotNull] this IBackgroundJobClient client, [NotNull] string queueName) { if (client == null) { throw new ArgumentNullException(nameof(client)); } if (queueName == null) { throw new ArgumentNullException(nameof(queueName)); } client.AddOrUpdateMeta(DynamicQueue.DynamicQueueKey, queueName); return(client); }