IHttpRetryAlgorithm.ShouldRetry(HttpResponseMessage) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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