Compartir a través de


RetryPolicy.GetNextRetryInterval(Exception, TimeSpan, Int32) Método

Definición

Obtiene el intervalo de tiempo de la siguiente operación de reintento.

public TimeSpan? GetNextRetryInterval (Exception lastException, TimeSpan remainingTime, int retryCount);
member this.GetNextRetryInterval : Exception * TimeSpan * int -> Nullable<TimeSpan>
Public Function GetNextRetryInterval (lastException As Exception, remainingTime As TimeSpan, retryCount As Integer) As Nullable(Of TimeSpan)

Parámetros

lastException
Exception

La última excepción que se produjo

remainingTime
TimeSpan

Tiempo restante para el tiempo de espera acumulado

retryCount
Int32

Recuento de reintentos actual

Devoluciones

Se aplica a