Amazon.Runtime.RetryPolicy.RetrySync C# (CSharp) Method

RetrySync() private method

Perform the processor-bound portion of the Retry logic. This is shared by the sync, async, and APM versions of the Retry method.
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;
            }
        }