ExponentialBackoff Constructor (Int32, TimeSpan, TimeSpan, TimeSpan)
Initializes a new instance of the ExponentialBackoff class with the specified retry settings.
Namespace: Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Syntax
public ExponentialBackoff(
int retryCount,
TimeSpan minBackoff,
TimeSpan maxBackoff,
TimeSpan deltaBackoff
)
public:
ExponentialBackoff(
int retryCount,
TimeSpan minBackoff,
TimeSpan maxBackoff,
TimeSpan deltaBackoff
)
new :
retryCount:int *
minBackoff:TimeSpan *
maxBackoff:TimeSpan *
deltaBackoff:TimeSpan -> ExponentialBackoff
Public Sub New (
retryCount As Integer,
minBackoff As TimeSpan,
maxBackoff As TimeSpan,
deltaBackoff As TimeSpan
)
Parameters
retryCount
Type: System.Int32The maximum number of retry attempts.
minBackoff
Type: System.TimeSpanThe minimum backoff time
maxBackoff
Type: System.TimeSpanThe maximum backoff time.
deltaBackoff
Type: System.TimeSpanThe value that will be used to calculate a random delta in the exponential delay between retries.
See Also
ExponentialBackoff Overload
ExponentialBackoff Class
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace
Return to top