Edit

Share via


ServiceThrottlingElement.MaxConcurrentCalls Property

Definition

Gets or sets a value that specifies the maximum number of concurrent calls to a single service instance.

public:
 property int MaxConcurrentCalls { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxConcurrentCalls", DefaultValue=16)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int MaxConcurrentCalls { get; set; }
[<System.Configuration.ConfigurationProperty("maxConcurrentCalls", DefaultValue=16)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.MaxConcurrentCalls : int with get, set
Public Property MaxConcurrentCalls As Integer

Property Value

The maximum number of concurrent calls to a single service instance. The default is Int32.MaxValue.

Attributes

Remarks

Calls in excess of the limit are queued. Setting this value to 0 is equivalent to setting it to MaxValue.

Applies to