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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro