Click or drag to resize
AutomaticRetryAttributeAttempts Property
Gets or sets the maximum number of automatic retry attempts.

Namespace: Hangfire
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public int Attempts { get; set; }

Property Value

Type: Int32
Any non-negative number.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe value in a set operation is less than zero.
See Also