Langue

RetryParams.DefaultBackOff(Int32) Méthode

Définition

Évalue si le nombre actuel de tentatives est inférieur au nombre maximal de tentatives autorisées, et renvoie un nouvel RetryParams objet si c’est vrai, ou règle la StopRetrying propriété en faux si fausse.

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

Le nombre de fois pour effectuer une réessayation.

Retours

Objet RetryParams.

S’applique à