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

OnRetryArguments

Represents the arguments used by OnRetry for handling the retry event.
public int Attempt { get; set; }

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

protected virtual Type EqualityContract { get; }

public TimeSpan ExecutionTime { get; set; }

The execution time of this attempt.

public TimeSpan RetryDelay { get; set; }

The delay before the next retry.

public OnRetryArguments(int Attempt, TimeSpan RetryDelay, TimeSpan ExecutionTime)

Represents the arguments used by OnRetry for handling the retry event.

protected OnRetryArguments(OnRetryArguments original)

public static bool op_Equality(OnRetryArguments left, OnRetryArguments right)

public static bool op_Inequality(OnRetryArguments left, OnRetryArguments right)

public virtual OnRetryArguments <Clone>$()

public void Deconstruct(out int Attempt, out TimeSpan RetryDelay, out TimeSpan ExecutionTime)

public virtual bool Equals(OnRetryArguments other)

protected virtual bool PrintMembers(StringBuilder builder)