<PackageReference Include="Polly.Core" Version="8.0.0-alpha.7" />

OnHedgingArguments

public sealed class OnHedgingArguments
Represents arguments used by the on-hedging event.
using System; namespace Polly.Hedging { public sealed class OnHedgingArguments { public int Attempt { get; } public bool HasOutcome { get; } public TimeSpan ExecutionTime { get; } public OnHedgingArguments(int attempt, bool hasOutcome, TimeSpan executionTime) { Attempt = attempt; HasOutcome = hasOutcome; ExecutionTime = executionTime; } } }