Initializes a new instance of the
ExponentialRetry class using the specified delta and maximum number of retries.
Namespace: Microsoft.WindowsAzure.Storage.RetryPolicies
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim deltaBackoff As TimeSpan
Dim maxAttempts As Integer
Dim instance As New ExponentialRetry(deltaBackoff, maxAttempts) |
Syntax
Visual Basic |
---|
Public Sub New ( _
deltaBackoff As TimeSpan, _
maxAttempts As Integer _
) |
C# |
---|
public ExponentialRetry (
TimeSpan deltaBackoff,
int maxAttempts
) |
C++ |
---|
public:
ExponentialRetry (
TimeSpan deltaBackoff,
int maxAttempts
) |
J# |
---|
public ExponentialRetry (
TimeSpan deltaBackoff,
int maxAttempts
) |
JScript |
---|
public function ExponentialRetry (
deltaBackoff : TimeSpan,
maxAttempts : int
) |
Parameters
- deltaBackoff
A TimeSpan specifying the back-off interval between retries.
- maxAttempts
An integer specifying the maximum number of retry attempts.
Remarks
Platforms
See Also