Compartilhar via


RetryPolicy.ShouldRetry(Int32, Exception) Método

Definição

Determina se o HttpRequest deve ser repetido

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

Parâmetros

httpCode
Int32
ex
Exception

Última exceção que vimos durante Httprequest

Retornos

Aplica-se a