OnRetryArguments<TResult>
Represents the arguments used by OnRetry for handling the retry event.
Gets the zero-based attempt number.
Gets the context of this event.
Gets the duration of this attempt.
Gets the outcome that will be retried.
Gets the delay before the next retry.
public OnRetryArguments(ResilienceContext context, Outcome<TResult> outcome, int attemptNumber, TimeSpan retryDelay, TimeSpan duration)
Initializes a new instance of the OnRetryArguments<T> struct.