Editare

Partajați prin


ServiceThrottlingElement.MaxConcurrentInstances Property

Definition

Gets or sets a value that specifies the maximum number of concurrent service instances.

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

Property Value

The maximum number of concurrent service instances. The default is 26.

Attributes

Remarks

Requests to create additional instances are queued and complete when a slot below the limit becomes available.

Applies to