Controls the throughput of a service to optimize availability and performance.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Gets or sets the maximum number of messages actively processing across all dispatcher objects in a ServiceHost.
Gets or sets the maximum number of service objects that can execute at one time.
Gets or sets a value that specifies the maximum number of sessions a ServiceHost object can accept at one time.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
Use the ServiceThrottlingBehavior, especially from an application configuration file.to tune the performance characteristics of a service. The easiest way to configure the for a service is to use the
A trace is written when the first call, InstanceContext, or session is queued on the waitlist. The first trace is written as a warning.
The following code example shows the typical use of the ServiceThrottlingBehavior in an application configuration file. In this case, the values that are specified establish, at most, one message processing at one time from one connection to one InstanceContext. Real-world usage must be determined through experience.by referencing the
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.