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

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

Return true if the request should be retried.
public RetryForExceptionAsync ( IExecutionContext executionContext, Exception exception ) : Task
executionContext IExecutionContext Request context containing the state of the request.
exception System.Exception The exception thrown by the previous request.
Результат Task
        public override async Task<bool> RetryForExceptionAsync(IExecutionContext executionContext, Exception exception)
        {
            return await Task.FromResult(RetryForExceptionSync(exception)).ConfigureAwait(false);
        }