Class ExponentialBackOffInitializer
An initializer which adds exponential back-off as exception handler and \ or unsuccessful response handler by the given ExponentialBackOffPolicy.
Inheritance
System.Object
    ExponentialBackOffInitializer
  Implements
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Google.Apis.Http
Assembly: Google.Apis.Core.dll
Syntax
public class ExponentialBackOffInitializer : IConfigurableHttpClientInitializer
  Constructors
ExponentialBackOffInitializer(ExponentialBackOffPolicy, Func<BackOffHandler>)
Constructs a new back-off initializer with the given policy and back-off handler create function.
Declaration
public ExponentialBackOffInitializer(ExponentialBackOffPolicy policy, Func<BackOffHandler> createBackOff)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ExponentialBackOffPolicy | policy | |
| System.Func<BackOffHandler> | createBackOff | 
Methods
Initialize(ConfigurableHttpClient)
Initializes a HTTP client after it was created.
Declaration
public void Initialize(ConfigurableHttpClient httpClient)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ConfigurableHttpClient | httpClient |