Google API Client Library for .NET  1.10.0
Public Member Functions | Properties | List of all members
Google.Apis.Util.IBackOff Interface Reference

Strategy interface to control back-off between retry attempts. More...

Inheritance diagram for Google.Apis.Util.IBackOff:
Google.Apis.Util.ExponentialBackOff

Public Member Functions

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 TimeSpan.MinValue. More...
 

Properties

int MaxNumOfRetries [get]
 Gets the maximum number of retries. More...
 

Detailed Description

Strategy interface to control back-off between retry attempts.

Member Function Documentation

TimeSpan Google.Apis.Util.IBackOff.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 TimeSpan.MinValue.

Implemented in Google.Apis.Util.ExponentialBackOff.

Property Documentation

int Google.Apis.Util.IBackOff.MaxNumOfRetries
get

Gets the maximum number of retries.


The documentation for this interface was generated from the following file: