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

RetryPredicateArguments

Represents the arguments used by ShouldHandle for determining whether a retry should be performed.
public int Attempt { get; set; }

The zero-based attempt number. The first attempt is 0, the second attempt is 1, and so on.

public RetryPredicateArguments(int Attempt)

Represents the arguments used by ShouldHandle for determining whether a retry should be performed.

public void Deconstruct(out int Attempt)

public bool Equals(RetryPredicateArguments other)