C# Class Google.Apis.Http.BackOffHandler.Initializer

An initializer class to initialize a back-off handler.
Exibir arquivo Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property Type Description
DefaultHandleExceptionFunc bool>.Func
DefaultHandleUnsuccessfulResponseFunc bool>.Func

Public Methods

Method Description
Initializer ( IBackOff backOff ) : System

Constructs a new initializer by the given back-off.

Method Details

Initializer() public method

Constructs a new initializer by the given back-off.
public Initializer ( IBackOff backOff ) : System
backOff IBackOff
return System

Property Details

DefaultHandleExceptionFunc public_oe static_oe property

Default function which handles exception which aren't System.Threading.Tasks.TaskCanceledException or System.OperationCanceledException. Those exceptions represent a task or an operation which was canceled and shouldn't be retried.
public static Func DefaultHandleExceptionFunc
return bool>.Func

DefaultHandleUnsuccessfulResponseFunc public_oe static_oe property

Default function which handles server errors (503).
public static Func DefaultHandleUnsuccessfulResponseFunc
return bool>.Func