Share via


HttpRetryStrategyOptions Constructor

Definition

Initializes a new instance of the HttpRetryStrategyOptions class.

public:
 HttpRetryStrategyOptions();
public HttpRetryStrategyOptions ();
Public Sub New ()

Remarks

By default, the options are configured to handle only transient failures. Specifically, this includes HTTP status codes 408, 429, 500 and above, as well as HttpRequestException and Polly.Timeout.TimeoutRejectedException exceptions.

Applies to