Interface IBackOff (1.69.0)

 public interface IBackOff 

Strategy interface to control back-off between retry attempts.

Namespace

Google.Apis.Util

Assembly

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

Extension Method

Design a Mobile Site
View Site in Mobile | Classic
Share by: