ExecutionAttemptArguments
Arguments that encapsulate the execution attempt for retries or hedging.
            
                using System;
namespace Polly.Telemetry
{
    public readonly struct ExecutionAttemptArguments
    {
        public int AttemptNumber { get; }
        public TimeSpan Duration { get; }
        public bool Handled { get; }
        public ExecutionAttemptArguments(int attemptNumber, TimeSpan duration, bool handled)
        {
            AttemptNumber = attemptNumber;
            Duration = duration;
            Handled = handled;
        }
    }
}