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
'Declaration
Public Property MaxConcurrentRequests As Integer
Get
Set
'Usage
Dim instance As HttpSelfHostConfiguration
Dim value As Integer
value = instance.MaxConcurrentRequests
instance.MaxConcurrentRequests = value
public int MaxConcurrentRequests { get; set; }
public:
property int MaxConcurrentRequests {
int get ();
void set (int value);
}
member MaxConcurrentRequests : int with get, set
function get MaxConcurrentRequests () : int
function set MaxConcurrentRequests (value : int)
Property Value
Type: System.Int32
The upper limit of concurrent HttpRequestMessage instances that can be processed at any given time.