Compartilhar via


IotHubClientNoRetry.ShouldRetry(UInt32, Exception, TimeSpan) Método

Definição

Uma política para nunca tentar novamente

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

Parâmetros

currentRetryCount
UInt32

A contagem de repetição atual.

lastException
Exception

A última exceção.

retryInterval
TimeSpan

O intervalo de repetição.

Retornos

Se deve ou não tentar novamente

Implementações

Aplica-se a