Compartir a través de


RetryOptions(TimeSpan, Int32) Constructor

Definición

Crea una nueva instancia de RetryOptions con el primer reintento y máximo de intentos proporcionados.

public RetryOptions (TimeSpan firstRetryInterval, int maxNumberOfAttempts);
new Microsoft.Azure.WebJobs.Extensions.DurableTask.RetryOptions : TimeSpan * int -> Microsoft.Azure.WebJobs.Extensions.DurableTask.RetryOptions
Public Sub New (firstRetryInterval As TimeSpan, maxNumberOfAttempts As Integer)

Parámetros

firstRetryInterval
TimeSpan

Intervalo de tiempo para esperar al primer reintento.

maxNumberOfAttempts
Int32

Número máximo de intentos de reintento.

Excepciones

El firstRetryInterval valor debe ser mayor que Zero.

Se aplica a