Partilhar via


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

Definição

Obtém o período de tempo para a próxima operação de repetição.

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

A última exceção que foi lançada

remainingTime
TimeSpan

Tempo restante para o tempo limite cumulativo

retryCount
Int32

Contagem de repetição atual

Retornos

Aplica-se a