Class HandleUnsuccessfulResponseArgs (1.55.0)

public class HandleUnsuccessfulResponseArgs

Inheritance

Object > HandleUnsuccessfulResponseArgs

Namespace

Google.Apis.Http

Assembly

Google.Apis.Core.dll

Properties

CancellationToken

public CancellationToken CancellationToken { get; set; }

Gets or sets the request's cancellation token.

Property Value
TypeDescription
CancellationToken

CurrentFailedTry

public int CurrentFailedTry { get; set; }

Gets or sets the current failed try.

Property Value
TypeDescription
Int32

Request

public HttpRequestMessage Request { get; set; }

Gets or sets the sent request.

Property Value
TypeDescription
HttpRequestMessage

Response

public HttpResponseMessage Response { get; set; }

Gets or sets the abnormal response.

Property Value
TypeDescription
HttpResponseMessage

SupportsRetry

public bool SupportsRetry { get; }

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

Property Value
TypeDescription
Boolean

TotalTries

public int TotalTries { get; set; }

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

Property Value
TypeDescription
Int32

Extension Method