Class RetryAttribute
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method)]
public abstract class RetryAttribute : Attribute, IRetryStrategy
- Inheritance
-
RetryAttribute
- Implements
- Derived
- Inherited Members
Constructors
RetryAttribute(int)
public RetryAttribute(int maxRetryCount)
Parameters
maxRetryCount
int
Properties
MaxRetryCount
public int MaxRetryCount { get; }
Property Value
Methods
GetNextDelay(RetryContext)
public abstract TimeSpan GetNextDelay(RetryContext context)
Parameters
context
RetryContext