/// <summary>
 /// Report a failure to execute an external task. A number of retries and a timeout until the task can be retried can be specified. If retries are set to 0, an incident for this task is created.
 /// </summary>
 public Task HandleFailure(ExternalTaskFailure externalTaskFailure) => _api.HandleFailure(_externalTaskId, externalTaskFailure);
Пример #2
0
 /// <summary>
 /// Sends a failure to a specific external task.
 /// </summary>
 public virtual Task HandleFailure(string externalTaskId, ExternalTaskFailure externalTaskFailure) => _api.HandleFailure(externalTaskId, externalTaskFailure);