Share via


ConnectionOrientedTransportElement.MaxPendingAccepts Propriété

Définition

Obtient ou définit le nombre maximal de threads d'acceptation asynchrones en attente qui sont disponibles pour traiter 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é

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

Attributs

Remarques

Si vous anticipez de hauts niveaux de connexions simultanées, vous devez ajuster cette propriété de manière à gérer de plus hauts niveaux de connexions de client simultanées.

S’applique à