Share via


RetryOptions Class

Definition

Defines retry policies that can be passed as parameters to various operations.

public class RetryOptions
type RetryOptions = class
Public Class RetryOptions
Inheritance
RetryOptions

Constructors

RetryOptions(TimeSpan, Int32)

Creates a new instance RetryOptions with the supplied first retry and max attempts.

Properties

BackoffCoefficient

Gets or sets the backoff coefficient.

FirstRetryInterval

Gets or sets the first retry interval.

Handle

Gets or sets a delegate to call on exception to determine if retries should proceed.

MaxNumberOfAttempts

Gets or sets the max number of attempts.

MaxRetryInterval

Gets or sets the max retry interval.

RetryTimeout

Gets or sets the timeout for retries.

Applies to