Share via


NetTcpSection.MaxPendingAccepts Proprietà

Definizione

Ottiene o imposta il numero massimo di thread di accettazione contemporaneamente in attesa sull'endpoint di ascolto per il servizio di condivisione.

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

Valore della proprietà

Numero massimo di thread di accettazione contemporaneamente in attesa sull'endpoint di ascolto per il servizio di condivisione. Il valore predefinito è 2.

Attributi

Si applica a