1.73.0 (latest) 1.69.0 1.68.0 1.60.0 1.59.0 1.55.0 1.50.0

    public class HandleExceptionArgs

Argument class to [HandleExceptionAsync(HandleExceptionArgs)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Http.IHttpExceptionHandler.md.txt#Google_Apis_Http_IHttpExceptionHandler_HandleExceptionAsync_Google_Apis_Http_HandleExceptionArgs_).

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> HandleExceptionArgs

## Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Apis.Http](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Http.md.txt)

## Assembly

Google.Apis.Core.dll

## Properties

### CancellationToken

    public CancellationToken CancellationToken { get; set; }

Gets or sets the request's cancellation token.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CancellationToken` |   |

### CurrentFailedTry

    public int CurrentFailedTry { get; set; }

Gets or sets the current failed try.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### Exception

    public Exception Exception { get; set; }

Gets or sets the exception which occurred during sending the request.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Exception` |   |

### Request

    public HttpRequestMessage Request { get; set; }

Gets or sets the sent request.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `HttpRequestMessage` |   |

### SupportsRetry

    public bool SupportsRetry { get; }

Gets an indication whether a retry will occur if the handler returns `true`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### TotalTries

    public int TotalTries { get; set; }

Gets or sets the total number of tries to send the request.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

## Extension Method

[Utilities.ThrowIfNull\<T\>(T, string)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities.md.txt#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_)