Polly.Retry.RetryPredicateArguments<TResult>
Represents the arguments used by ShouldHandle for determining whether a retry should be performed.
namespace Polly.Retry
{
public readonly struct RetryPredicateArguments<[System.Runtime.CompilerServices.Nullable(2)] TResult> : IOutcomeArguments<TResult>
{
public Outcome<TResult> Outcome { get; }
public ResilienceContext Context { get; }
public int AttemptNumber { get; }
public RetryPredicateArguments(ResilienceContext context, Outcome<TResult> outcome, int attemptNumber);
}
}