Share via


ProvisioningClientNoRetry.ShouldRetry(UInt32, Exception, TimeSpan) Methode

Definition

Eine Richtlinie, die nie wiederholt werden soll

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

Parameter

currentRetryCount
UInt32

Die aktuelle Anzahl der Wiederholungsversuche.

lastException
Exception

Die letzte Ausnahme.

retryInterval
TimeSpan

Das Wiederholungsintervall.

Gibt zurück

Gibt an, ob ein Wiederholungsversuch durchgeführt werden soll

Implementiert

Gilt für: