RetryPolicyProvider.ExponentialRetryProvider Method
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.
Creates a new RetryPolicyProvider using the ExponentialRetry policy.
public static Microsoft.Azure.Batch.RetryPolicyProvider ExponentialRetryProvider (TimeSpan deltaBackoff, int maxRetries, TimeSpan? maxBackoff = default);
static member ExponentialRetryProvider : TimeSpan * int * Nullable<TimeSpan> -> Microsoft.Azure.Batch.RetryPolicyProvider
Public Shared Function ExponentialRetryProvider (deltaBackoff As TimeSpan, maxRetries As Integer, Optional maxBackoff As Nullable(Of TimeSpan) = Nothing) As RetryPolicyProvider
Parameters
- deltaBackoff
- TimeSpan
The backoff interval between retries, where the resulting backoff is 2^n * deltaBackoff (where n is the number of retries)
- maxRetries
- Int32
The maximum number of retry attempts.
Returns
A provider configured to perform exponential retries using the specified backoff and max retries.
Applies to
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk