ConstantRetryPolicy(TimeSpan, TimeSpan, Int32, Int32, TimeSpan) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la ConstantRetryPolicy classe avec les paramètres fournis.
public ConstantRetryPolicy (TimeSpan maxRetryBackoffIntervalOnTransientErrors, TimeSpan maxRetryBackoffIntervalOnNonTransientErrors, int maxRetryCount, int maxRetryCountOnNonTransientErrors, TimeSpan clientRetryTimeout);
new Microsoft.ServiceFabric.Services.Communication.Client.ConstantRetryPolicy : TimeSpan * TimeSpan * int * int * TimeSpan -> Microsoft.ServiceFabric.Services.Communication.Client.ConstantRetryPolicy
Public Sub New (maxRetryBackoffIntervalOnTransientErrors As TimeSpan, maxRetryBackoffIntervalOnNonTransientErrors As TimeSpan, maxRetryCount As Integer, maxRetryCountOnNonTransientErrors As Integer, clientRetryTimeout As TimeSpan)
Paramètres
- maxRetryBackoffIntervalOnTransientErrors
- TimeSpan
Spécifie l’intervalle maximal de sauvegarde avant de réessayer en cas d’erreurs temporaires
- maxRetryBackoffIntervalOnNonTransientErrors
- TimeSpan
Spécifie l’intervalle maximal de sauvegarde avant de réessayer en cas d’erreurs non temporaires
- maxRetryCount
- Int32
Spécifie le nombre maximal de nouvelles tentatives.
- maxRetryCountOnNonTransientErrors
- Int32
Spécifie le nombre maximal de nouvelles tentatives en cas d’erreurs non temporaires
- clientRetryTimeout
- TimeSpan
Spécifie la durée maximale pendant laquelle le client retente l’appel avant de quitter
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour