/// <summary>
 /// Set the number of retries left to execute an external task. If retries are set to 0, an incident is created.
 /// </summary>
 /// <param name="retries">The number of retries to set for the external task. Must be >= 0. If this is 0, an incident is created and the task cannot be fetched anymore unless the retries are increased again.</param>
 public Task SetRetries(int retries) => _api.SetRetries(_externalTaskId, new RetriesInfo()
 {
     Retries = retries
 });
Exemple #2
0
 /// <summary>
 /// Set a number of retries for the external task.
 /// </summary>
 public virtual Task SetRetries(string externalTaskId, RetriesInfo retriesInfo) => _api.SetRetries(externalTaskId, retriesInfo);