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

Retired Content

This content and the technology described is outdated and is no longer being maintained. For more information, see Transient Fault Handling.

Initializes a new instance of the ExponentialBackoff class.

Namespace: Microsoft.Practices.TransientFaultHandling
Assembly: Microsoft.Practices.TransientFaultHandling.Core (in Microsoft.Practices.TransientFaultHandling.Core.dll) Version: 5.0.1118.0 (5.0.1118.0)

Syntax

public ExponentialBackoff(
    string name,
    int retryCount,
    TimeSpan minBackoff,
    TimeSpan maxBackoff,
    TimeSpan deltaBackoff
)
'Declaration
Public Sub New ( _
    name As String, _
    retryCount As Integer, _
    minBackoff As TimeSpan, _
    maxBackoff As TimeSpan, _
    deltaBackoff As TimeSpan _
)
public:
ExponentialBackoff(
    String^ name, 
    int retryCount, 
    TimeSpan minBackoff, 
    TimeSpan maxBackoff, 
    TimeSpan deltaBackoff
)

Parameters

  • retryCount
    Type: System.Int32
    The maximum number of retry attempts.
  • deltaBackoff
    Type: System.TimeSpan
    The value that will be used for calculating a random delta in the exponential delay between retries.

See Also

ExponentialBackoff Class

ExponentialBackoff Overload

Microsoft.Practices.TransientFaultHandling Namespace