SqlRetryLogicBase.TryNextInterval(TimeSpan) Method

Definition

Try to get the next interval time by using the enumerator if the counter does not exceed the number of retries.

public:
 abstract bool TryNextInterval([Runtime::InteropServices::Out] TimeSpan % intervalTime);
public abstract bool TryNextInterval (out TimeSpan intervalTime);
abstract member TryNextInterval : TimeSpan -> bool
Public MustOverride Function TryNextInterval (ByRef intervalTime As TimeSpan) As Boolean

Parameters

intervalTime
TimeSpan

The interval time that is generated by the RetryIntervalEnumerator.

Returns

Returns true if the number of retry attempts has not been exceeded; otherwise false.

Applies to