public interface IBackOffStrategy interface to control back-off between retry attempts.
Namespace
Google.Apis.UtilAssembly
Google.Apis.Core.dll
Properties
MaxNumOfRetries
int MaxNumOfRetries { get; }Gets the maximum number of retries.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Methods
GetNextBackOff(int)
TimeSpan GetNextBackOff(int currentRetry)Gets the a time span to wait before next retry. If the current retry reached the maximum number of retries, the returned value is MinValue.
| Parameter | |
|---|---|
| Name | Description |
currentRetry |
int |
| Returns | |
|---|---|
| Type | Description |
TimeSpan |
|