Share via


RetryPolicy.ShouldRetry(Int32, Exception) Method

Definition

Determines whether the HttpRequest should be retried

public abstract bool ShouldRetry (int httpCode, Exception ex);
abstract member ShouldRetry : int * Exception -> bool
Public MustOverride Function ShouldRetry (httpCode As Integer, ex As Exception) As Boolean

Parameters

httpCode
Int32
ex
Exception

Last exception that we saw during Httprequest

Returns

Applies to