RetryContext Class

Definition

The context passed to NextRetryDelay(RetryContext) to help the policy determine how long to wait before the next retry and whether there should be another retry at all.

public ref class RetryContext sealed
public sealed class RetryContext
type RetryContext = class
Public NotInheritable Class RetryContext
Inheritance
RetryContext

Constructors

RetryContext()

Properties

ElapsedTime

The amount of time spent retrying so far.

PreviousRetryCount

The number of consecutive failed retries so far.

RetryReason

The error precipitating the current retry if any.

Applies to