Share via


NetTcpSection.MaxPendingAccepts Propriété

Définition

Obtient ou définit le nombre maximal de threads d'acceptation simultanés en attente sur le point de terminaison d'écoute du service de partage.

public:
 property int MaxPendingAccepts { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxPendingAccepts", DefaultValue=2)]
[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=2)>]
[<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 threads d'acceptation simultanés en attente sur le point de terminaison d'écoute du service de partage. La valeur par défaut est 2.

Attributs

S’applique à