◆ retryInterval
| Func<RestException, int, int> RingCentral.Net.Retry.RetryOptions.retryInterval |
Initial value:= (restException, retriesAttempted) =>
(int)(60 * 1000 * Math.Pow(2, retriesAttempted))
◆ shouldRetry
| Func<RestException, int, bool> RingCentral.Net.Retry.RetryOptions.shouldRetry |
Initial value:= (restException, retriesAttempted) =>
retriesAttempted < 3 &&
Array.Exists(new[] { 429, 503 },
element => (HttpStatusCode)element == restException.httpResponseMessage.StatusCode)
The documentation for this class was generated from the following file:
- RingCentral.Net.Retry/Definitions.cs