Exemplo n.º 1
0
 /// <summary>
 /// Activate or suspend a given job by id.
 /// </summary>
 public Task UpdateSuspensionState(bool suspended) => _api.UpdateSuspensionState(_jobId, new SuspensionState() { Suspended = suspended });
Exemplo n.º 2
0
 /// <summary>
 /// Activate or suspend jobs with the given job definition id, process definition id, process definition key or process instance id.
 /// </summary>
 public Task UpdateSuspensionState(JobSuspensionState state) => _api.UpdateSuspensionState(state);