Represents a retry policy for node execution failures.

Members

MemberKindDescription
RetryPolicy(int maxRetries, TimeSpan retryDelay)MethodInitializes a new instance of the RetryPolicy class. The maximum number of retry attempts. The delay between retry attempts.
int MaxRetriesPropertyGets or sets the maximum number of retry attempts.
TimeSpan RetryDelayPropertyGets or sets the delay between retry attempts.
RetryBackoffStrategy BackoffStrategyPropertyGets or sets the backoff strategy for increasing delay between retries.
TimeSpan? MaxRetryDelayPropertyGets or sets the maximum delay between retries when using backoff.
RetryPolicy Clone()MethodCreates a copy of this retry policy. A new RetryPolicy instance that is a copy of this one.
static RetryPolicy None()MethodCreates a no-retry policy. A RetryPolicy that does not retry on failure.
static RetryPolicy Simple(int maxRetries, int delaySeconds)MethodCreates a simple retry policy with fixed delay. The maximum number of retries. The delay in seconds between retries. A RetryPolicy with the specified parameters.
static RetryPolicy ExponentialBackoff(int maxRetries, int initialDelaySeconds, int maxDelaySeconds)MethodCreates an exponential backoff retry policy. The maximum number of retries. The initial delay in seconds. The maximum delay in seconds. A RetryPolicy with exponential backoff.

Related