Gets or sets a value that specifies the maximum number of messages actively processing across a ServiceHost.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The ServiceHost object. Each channel can have one pending message that does not count against the value of until Windows Communication Foundation (WCF) begins to process it.property specifies the maximum number of messages actively processing across a
You can also set the values of this attribute by using the <serviceThrottling> element in an application configuration file.
should be set to less than the SQL connection pool size in queued scenarios.
The following code example shows the use of ServiceThrottlingBehavior from an application configuration file that sets the MaxConcurrentSessions, , and MaxConcurrentInstances properties to 1 as an example. Real-world experience determines what the optimal settings are for any particular application.
Available since 3.0