HttpTransportBindingElement.MaxPendingAccepts Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum number of connections the service can accept simultaneously.
public:
property int MaxPendingAccepts { int get(); void set(int value); };
public int MaxPendingAccepts { get; set; }
member this.MaxPendingAccepts : int with get, set
Public Property MaxPendingAccepts As Integer
Property Value
The maximum number of connections the service can accept simultaneously.
Remarks
The default value of MaxPendingAccepts is 0, which means WCF will configure the value for you. You can increase the number for better scalability. In the self-hosted case, this property controls the maximum number of simultaneous BeginGetContext calls WCF will invoke. Each time BeginGetContext is called some memory is pinned within the managed heap for buffering. If too many buffers are pinned, excessive heap fragmentation may result. This property is ignored in the web-hosted case.