public class HandleExceptionArgs : objectArgument class to HandleExceptionAsync(HandleExceptionArgs).
Namespace
Google.Apis.HttpAssembly
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 |
Int32 |
|
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 |
Boolean |
|
TotalTries
public int TotalTries { get; set; }Gets or sets the total number of tries to send the request.
| Property Value | |
|---|---|
| Type | Description |
Int32 |
|