Share via


HttpRetryOptions(TimeSpan, Int32) Constructor

Definición

Crea una nueva instancia serializableRetryOptions con los primeros reintentos y máximos intentos proporcionados.

public HttpRetryOptions (TimeSpan firstRetryInterval, int maxNumberOfAttempts);
new Microsoft.Azure.WebJobs.Extensions.DurableTask.HttpRetryOptions : TimeSpan * int -> Microsoft.Azure.WebJobs.Extensions.DurableTask.HttpRetryOptions
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