IRetryPolicyState
interface IRetryPolicyState
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Polly.Retry
{
internal interface IRetryPolicyState
{
Task<bool> CanRetryAsync(Exception ex, CancellationToken ct, bool continueOnCapturedContext);
bool CanRetry(Exception ex);
}
}