Google API Client Library for .NET  1.10.0
Public Member Functions | List of all members
Google.Apis.Http.IHttpExceptionHandler Interface Reference

Exception handler is invoked when an exception is thrown during a HTTP request. More...

Inheritance diagram for Google.Apis.Http.IHttpExceptionHandler:
Google.Apis.Http.BackOffHandler

Public Member Functions

Task< bool > HandleExceptionAsync (HandleExceptionArgs args)
 Handles an exception thrown when sending a HTTP request. A simple rule must be followed, if you modify the request object in a way that the exception can be resolved, you must return true. More...
 

Detailed Description

Exception handler is invoked when an exception is thrown during a HTTP request.

Member Function Documentation

Task<bool> Google.Apis.Http.IHttpExceptionHandler.HandleExceptionAsync ( HandleExceptionArgs  args)

Handles an exception thrown when sending a HTTP request. A simple rule must be followed, if you modify the request object in a way that the exception can be resolved, you must return true.

Parameters
argsHandle exception argument which properties such as the request, exception, current failed try.
Returns
Whether this handler has made a change that requires the request to be resent.

Implemented in Google.Apis.Http.BackOffHandler.


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