/// <summary>
 /// Set the priority of an existing external task. The default value of a priority is 0.
 /// </summary>
 /// <param name="priority">The priority of the external task.</param>
 public Task SetPriority(long priority) => _api.SetPriority(_externalTaskId, new PriorityInfo {
     Priority = priority
 });
예제 #2
0
 /// <summary>
 /// Set a number of retries for the external task.
 /// </summary>
 public virtual Task SetPriority(string externalTaskId, PriorityInfo priorityInfo) => _api.SetPriority(externalTaskId, priorityInfo);