BackoffTimerHelper.GetExponentialBackoff Method

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
Public Shared Function GetExponentialBackoff ( _
    attempt As Integer, _
    minBackoff As TimeSpan, _
    maxBackoff As TimeSpan, _
    deltaBackoff As TimeSpan _
) As TimeSpan
public static TimeSpan GetExponentialBackoff(
    int attempt,
    TimeSpan minBackoff,
    TimeSpan maxBackoff,
    TimeSpan deltaBackoff
)
public:
static TimeSpan GetExponentialBackoff(
    int attempt, 
    TimeSpan minBackoff, 
    TimeSpan maxBackoff, 
    TimeSpan deltaBackoff
)
static member GetExponentialBackoff : 
        attempt:int * 
        minBackoff:TimeSpan * 
        maxBackoff:TimeSpan * 
        deltaBackoff:TimeSpan -> TimeSpan
public static function GetExponentialBackoff(
    attempt : int, 
    minBackoff : TimeSpan, 
    maxBackoff : TimeSpan, 
    deltaBackoff : TimeSpan
) : TimeSpan

Parameters

Return Value

Type: System.TimeSpan

.NET Framework Security

See Also

Reference

BackoffTimerHelper Class

Microsoft.VisualStudio.Services.Common Namespace