HttpRetryPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Policy that defines http request retry conditions.
public class HttpRetryPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppContainers.Models.HttpRetryPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppContainers.Models.HttpRetryPolicy>
type HttpRetryPolicy = class
interface IJsonModel<HttpRetryPolicy>
interface IPersistableModel<HttpRetryPolicy>
Public Class HttpRetryPolicy
Implements IJsonModel(Of HttpRetryPolicy), IPersistableModel(Of HttpRetryPolicy)
- Inheritance
-
HttpRetryPolicy
- Implements
Constructors
| Name | Description |
|---|---|
| HttpRetryPolicy() |
Initializes a new instance of HttpRetryPolicy. |
Properties
| Name | Description |
|---|---|
| Errors |
Errors that can trigger a retry. |
| Headers |
Headers that must be present for a request to be retried. |
| HttpStatusCodes |
Additional http status codes that can trigger a retry. |
| InitialDelayInMilliseconds |
Initial delay, in milliseconds, before retrying a request. |
| MaxIntervalInMilliseconds |
Maximum interval, in milliseconds, between retries. |
| MaxRetries |
Maximum number of times a request will retry. |