HttpSelfHostConfiguration.MaxConcurrentRequests Property

 

Gets or sets the upper limit of concurrent HttpRequestMessage instances that can be processed at any given time. The default is 100 times the number of CPU cores.

Namespace:   System.Web.Http.SelfHost
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)

Syntax

public int MaxConcurrentRequests { get; set; }
public:
property int MaxConcurrentRequests {
    int get();
    void set(int value);
}
member MaxConcurrentRequests : int with get, set
Public Property MaxConcurrentRequests As Integer

Property Value

Type: System.Int32

The upper limit of concurrent HttpRequestMessage instances that can be processed at any given time.

See Also

HttpSelfHostConfiguration Class
System.Web.Http.SelfHost Namespace

Return to top