Share via


RetryPolicy.OnShouldRetry(TimeSpan, Int32, TimeSpan) Method

Definition

protected abstract bool OnShouldRetry (TimeSpan remainingTime, int currentRetryCount, out TimeSpan retryInterval);
abstract member OnShouldRetry : TimeSpan * int * TimeSpan -> bool
Protected MustOverride Function OnShouldRetry (remainingTime As TimeSpan, currentRetryCount As Integer, ByRef retryInterval As TimeSpan) As Boolean

Parameters

remainingTime
TimeSpan
currentRetryCount
Int32
retryInterval
TimeSpan

Returns

Applies to