Partager via


IHttpRetryAlgorithm.ShouldRetry(HttpResponseMessage) Method

Definition

Determine if a request should be retried

public bool ShouldRetry (System.Net.Http.HttpResponseMessage message);
abstract member ShouldRetry : System.Net.Http.HttpResponseMessage -> bool
Public Function ShouldRetry (message As HttpResponseMessage) As Boolean

Parameters

message
HttpResponseMessage

The response to the request

Returns

True if the request should be retried

Applies to