Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

RetryOptions Class

Definition

Namespace:
Azure.Core
Assembly:
Azure.Core.dll
Package:
Azure.Core v1.58.0
Source:
RetryOptions.cs

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.

The set of options that can be specified to influence how retry attempts are made, and a failure is eligible to be retried.

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

Properties

Name Description
Delay

The delay between retry attempts for a fixed approach or the delay on which to base calculations for a backoff-based approach. If the service provides a Retry-After response header, the next retry will be delayed by the duration specified by the header value.

MaxDelay

The maximum permissible delay between retry attempts when the service does not provide a Retry-After response header. If the service provides a Retry-After response header, the next retry will be delayed by the duration specified by the header value.

MaxRetries

The maximum number of retry attempts before giving up.

Mode

The approach to use for calculating retry delays.

NetworkTimeout

The timeout applied to individual network operations.

Applies to


Feedback

Was this page helpful?