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

Polly.Hedging.HedgingDelayGeneratorArguments

Arguments used by hedging delay generator.
public int AttemptNumber { get; }

Gets the zero-based hedging attempt number.

public ResilienceContext Context { get; }

Gets the context associated with the execution of a user-provided callback.

public HedgingDelayGeneratorArguments(ResilienceContext context, int attemptNumber)

Initializes a new instance of the HedgingDelayGeneratorArguments struct.