IJobMaxTaskInterruptedRetryAttempts Property

Gets or sets the maximum number of times a task will be retried if it is interrupted.
Namespace:  AGI.Parallel.Infrastructure
Assembly:  AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: 1.3.0.366 (1.3.0.366)
Syntax
short MaxTaskInterruptedRetryAttempts { get; set; }

Property Value

Type: Int16
The maximum retry count.
Exceptions
Exception Condition
ArgumentOutOfRangeException Value must be equal or greater than 0
Remarks
A system error, such as a host process exiting abnormally or an agent disconnecting from the coordinator while the agent "owns" a task, may occur during the execution of a task. Normally, these errors are recoverable; if the task was retried again the task may succeed. As such, the system will try to reassign the task for execution for as many times as MaxTaskInterruptedRetryAttempts is specified. Setting the maximum task interrupted retry attempts to 0 means that the task will never be retried if there is a system exception while executing the task.
See Also

STK Scalability 1.3 API for .NET