Show / Hide Table of Contents

Class HandleUnsuccessfulResponseArgs

Argument class to HandleResponseAsync(HandleUnsuccessfulResponseArgs).

Inheritance
object
HandleUnsuccessfulResponseArgs
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

Extension Methods

Utilities.ThrowIfNull<T>(T, string)
In this article
Back to top Generated by DocFX