RetryPolicyProvider.LinearRetryProvider(TimeSpan, Int32) 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 LinearRetry policy.
public static Microsoft.Azure.Batch.RetryPolicyProvider LinearRetryProvider (TimeSpan deltaBackoff, int maxRetries);
static member LinearRetryProvider : TimeSpan * int -> Microsoft.Azure.Batch.RetryPolicyProvider
Public Shared Function LinearRetryProvider (deltaBackoff As TimeSpan, maxRetries As Integer) As RetryPolicyProvider
Parameters
- deltaBackoff
- TimeSpan
The backoff interval between retries.
- maxRetries
- Int32
The maximum number of retry attempts.
Returns
A provider configured to perform linear retries using the specified backoff and max retries.