Initializes a new instance of the
LinearRetry 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 LinearRetry(deltaBackoff, maxAttempts) |
Syntax
| Visual Basic |
|---|
Public Sub New ( _
deltaBackoff As TimeSpan, _
maxAttempts As Integer _
) |
| C# |
|---|
public LinearRetry (
TimeSpan deltaBackoff,
int maxAttempts
) |
| C++ |
|---|
public:
LinearRetry (
TimeSpan deltaBackoff,
int maxAttempts
) |
| J# |
|---|
public LinearRetry (
TimeSpan deltaBackoff,
int maxAttempts
) |
| JScript |
|---|
public function LinearRetry (
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