Skip to main content

Class TaskExecutionOptions

The TaskExecutionOptions.

Assembly: Taskurai.dll
Declaration
public class TaskExecutionOptions

Properties

MaxRunsAfterTimeout

Max task runs after timeout (-1: unlimited, 0: single execution attempt before timeout, no retry, >= 1: total number of attemps/retries).

Declaration
public int? MaxRunsAfterTimeout { get; set; }

MaxDuration

Maximum duration in seconds from start time to end time (note: this will only prevent a reschedule or retry of a task, no tasks are terminated), -1 = unlimited.

Declaration
public long? MaxDuration { get; set; }