private RetrySync ( IExecutionContext executionContext, Exception exception ) : bool? | ||
executionContext | IExecutionContext | |
exception | Exception | |
return | bool? |
private bool? RetrySync(IExecutionContext executionContext, Exception exception)
{
if (!RetryLimitReached(executionContext) && CanRetry(executionContext))
{
if (IsClockskew(executionContext, exception))
{
return true;
}
else
{
return null;
}
}
else
{
return false;
}
}