Språk

ConnectionOrientedTransportElement.MaxPendingAccepts Egenskap

Definition

Hämtar eller anger det maximala antalet väntande asynkrona accepttrådar som är tillgängliga för bearbetning av inkommande anslutningar i tjänsten.

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

Egenskapsvärde

Det maximala antalet väntande meddelanden som tjänsten kan acceptera. Standardvärdet är 1.

Attribut

Kommentarer

Om du förväntar dig höga nivåer av samtidiga anslutningar bör du justera den här egenskapen för att hantera högre nivåer av samtidiga klientanslutningar.

Gäller för