ConnectionOrientedTransportElement.MaxPendingAccepts Property

 

Gets or sets the maximum number of pending asynchronous accept threads that are available for processing incoming connections on the service.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("maxPendingAccepts", DefaultValue = 0)]
[IntegerValidatorAttribute(MinValue = 0)]
public int MaxPendingAccepts { get; set; }

Property Value

Type: System.Int32

The maximum number of pending messages the service can accept. The default value is 1.

If you anticipate high levels of simultaneous connections, you should adjust this property to handle higher levels of concurrent client connections.

.NET Framework
Available since 3.0
Return to top
Show: