Langue

ConnectionOrientedTransportElement.MaxPendingAccepts Propriété

Définition

Obtient ou définit le nombre maximal de threads d’acceptation asynchrones en attente disponibles pour le traitement des connexions entrantes sur le service.

public:
 property int MaxPendingAccepts { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxPendingAccepts", DefaultValue=1)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int MaxPendingAccepts { get; set; }
[System.Configuration.ConfigurationProperty("maxPendingAccepts", DefaultValue=0)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxPendingAccepts { get; set; }
[<System.Configuration.ConfigurationProperty("maxPendingAccepts", DefaultValue=1)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.MaxPendingAccepts : int with get, set
[<System.Configuration.ConfigurationProperty("maxPendingAccepts", DefaultValue=0)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxPendingAccepts : int with get, set
Public Property MaxPendingAccepts As Integer

Valeur de propriété

Nombre maximal de messages en attente que le service peut accepter. La valeur par défaut est 1.

Attributs

Remarques

Si vous prévoyez des niveaux élevés de connexions simultanées, vous devez ajuster cette propriété pour gérer des niveaux plus élevés de connexions clientes simultanées.

S’applique à