ExponentialBackoff Constructor (String, Int32, TimeSpan, TimeSpan, TimeSpan)

 

Initializes a new instance of the ExponentialBackoff class with the specified name and retry settings.

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

public ExponentialBackoff(
	string name,
	int retryCount,
	TimeSpan minBackoff,
	TimeSpan maxBackoff,
	TimeSpan deltaBackoff
)

Parameters

name
Type: System.String

The name of the retry strategy.

retryCount
Type: System.Int32

The maximum 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 value that will be used to calculate a random delta in the exponential delay between retries.

Return to top
Show: