Megosztás a következőn keresztül:


RetryOptions Class

Definition

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

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 an individual network operations.

Applies to