Class HandleExceptionArgs
Argument class to HandleExceptionAsync(HandleExceptionArgs).
Inherited Members
Namespace: Google.Apis.Http
Assembly: Google.Apis.Core.dll
Syntax
public class HandleExceptionArgs
Properties
CancellationToken
Gets or sets the request's cancellation token.
Declaration
public CancellationToken CancellationToken { get; set; }
Property Value
| Type | Description |
|---|---|
| CancellationToken |
CurrentFailedTry
Gets or sets the current failed try.
Declaration
public int CurrentFailedTry { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Exception
Gets or sets the exception which occurred during sending the request.
Declaration
public Exception Exception { get; set; }
Property Value
| Type | Description |
|---|---|
| Exception |
Request
Gets or sets the sent request.
Declaration
public HttpRequestMessage Request { get; set; }
Property Value
| Type | Description |
|---|---|
| HttpRequestMessage |
SupportsRetry
Gets an indication whether a retry will occur if the handler returns true.
Declaration
public bool SupportsRetry { get; }
Property Value
| Type | Description |
|---|---|
| bool |
TotalTries
Gets or sets the total number of tries to send the request.
Declaration
public int TotalTries { get; set; }
Property Value
| Type | Description |
|---|---|
| int |