SqlRetryLogicBase.TryNextInterval(TimeSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.