RetryPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A declarative retry policy that can be configured for activity or sub-orchestration calls.
public class RetryPolicy
type RetryPolicy = class
Public Class RetryPolicy
- Inheritance
-
RetryPolicy
Constructors
RetryPolicy(Int32, TimeSpan, Double, Nullable<TimeSpan>, Nullable<TimeSpan>) |
Initializes a new instance of the RetryPolicy class. |
Properties
BackoffCoefficient |
Gets the exponential back-off coefficient used to determine the delay between subsequent retries. |
FirstRetryInterval |
Gets the amount of time to delay between the first and second attempt. |
HandleAsync |
Gets or sets a Func to call on exception to determine if retries should proceed. |
MaxNumberOfAttempts |
Gets the max number of attempts for executing a given task. |
MaxRetryInterval |
Gets the maximum time to delay between attempts. |
RetryTimeout |
Gets the overall timeout for retries. No further attempts will be made at executing a task after this retry timeout expires. |