Partager via


RetryParams.DefaultBackOff(Int32) Méthode

Définition

Évalue si le nombre actuel de nouvelles tentatives est inférieur au nombre maximal de nouvelles tentatives autorisées et retourne un nouvel RetryParams objet si la valeur est true, ou définit la StopRetrying propriété sur false si false.

public static Microsoft.Bot.Connector.Authentication.RetryParams DefaultBackOff(int retryCount);
static member DefaultBackOff : int -> Microsoft.Bot.Connector.Authentication.RetryParams
Public Shared Function DefaultBackOff (retryCount As Integer) As RetryParams

Paramètres

retryCount
Int32

Nombre de fois où effectuer une nouvelle tentative.

Retours

Objet RetryParams.

S’applique à