RetryPolicy(Of T) Constructor (Int32, TimeSpan, TimeSpan, TimeSpan)

 

Initializes a new instance of the RetryPolicy(Of T) class with the specified number of retry attempts and backoff parameters for calculating the exponential delay between retries.

Namespace:   Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Public Sub New (
	retryCount As Integer,
	minBackoff As TimeSpan,
	maxBackoff As TimeSpan,
	deltaBackoff As TimeSpan
)

Parameters

retryCount
Type: System.Int32

The number of retry attempts.

minBackoff
Type: System.TimeSpan

The minimum backoff time.

maxBackoff
Type: System.TimeSpan

The maximum backoff time.

deltaBackoff
Type: System.TimeSpan

The time value that will be used to calculate a random delta in the exponential delay between retries.

Return to top
Show: