RetryOptions 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.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應