Class HandleUnsuccessfulResponseArgs
Argument class to HandleResponseAsync(HandleUnsuccessfulResponseArgs).
Inherited Members
Namespace: Google.Apis.Http
Assembly: Google.Apis.Core.dll
Syntax
public class HandleUnsuccessfulResponseArgs
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 |
Request
Gets or sets the sent request.
Declaration
public HttpRequestMessage Request { get; set; }
Property Value
Type | Description |
---|---|
HttpRequestMessage |
Response
Gets or sets the abnormal response.
Declaration
public HttpResponseMessage Response { get; set; }
Property Value
Type | Description |
---|---|
HttpResponseMessage |
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 |