Amazon.Runtime.Internal.DefaultRetryPolicy.WaitBeforeRetryAsync C# (CSharp) Метод

WaitBeforeRetryAsync() публичный Метод

Waits before retrying a request.
public WaitBeforeRetryAsync ( IExecutionContext executionContext ) : System.Threading.Tasks.Task
executionContext IExecutionContext The execution context which contains both the /// requests and response context.
Результат System.Threading.Tasks.Task
        public override async Task WaitBeforeRetryAsync(IExecutionContext executionContext)
        {
            var delay = CalculateRetryDelay(executionContext.RequestContext.Retries, this.MaxBackoffInMilliseconds);
            await Task.Delay(delay).ConfigureAwait(false);
        }
    }