Compartir a través de


ProvisioningClientFixedDelayRetryPolicy.ShouldRetry Método

Definición

Devuelve true si, en función de los parámetros, se debe reintentar la operación.

public override bool ShouldRetry (uint currentRetryCount, Exception lastException, out TimeSpan retryInterval);
override this.ShouldRetry : uint32 * Exception * TimeSpan -> bool
Public Overrides Function ShouldRetry (currentRetryCount As UInteger, lastException As Exception, ByRef retryInterval As TimeSpan) As Boolean

Parámetros

currentRetryCount
UInt32

Cuántas veces se ha reintentado la operación.

lastException
Exception

Excepción de operación.

retryInterval
TimeSpan

El siguiente reintento se debe realizar después de este intervalo de tiempo.

Devoluciones

True si se debe reintentar la operación; de lo contrario, false.

Se aplica a