<PackageReference Include="Polly.Core" Version="8.6.4" />

Polly.Retry.OnRetryArguments<TResult>

public struct OnRetryArguments<TResult> : IOutcomeArguments<TResult>
Represents the arguments used by OnRetry for handling the retry event.
namespace Polly.Retry { public readonly struct OnRetryArguments<[System.Runtime.CompilerServices.Nullable(2)] TResult> : IOutcomeArguments<TResult> { public Outcome<TResult> Outcome { get; } public ResilienceContext Context { get; } public int AttemptNumber { get; } public TimeSpan RetryDelay { get; } public TimeSpan Duration { get; } public OnRetryArguments(ResilienceContext context, Outcome<TResult> outcome, int attemptNumber, TimeSpan retryDelay, TimeSpan duration); } }