LinearRetry Constructor (TimeSpan, Int32)

Windows Runtime Azure Storage Client Library

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

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also