RetryPredicateArguments<TResult>
Represents the arguments used by ShouldHandle for determining whether a retry should be performed.
Gets the zero-based attempt number.
Gets the context of this event.
Gets the outcome of the user-specified callback.
public RetryPredicateArguments(ResilienceContext context, Outcome<TResult> outcome, int attemptNumber)
Initializes a new instance of the RetryPredicateArguments<T> struct.