ServiceThrottlingElement.MaxConcurrentCalls Propriedade

Definição

Obtém ou define um valor que especifica o número máximo de chamadas simultâneas para uma única instância de serviço.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=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int MaxConcurrentCalls { get; set; }
[<System.Configuration.ConfigurationProperty("maxConcurrentCalls", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.MaxConcurrentCalls : int with get, set
Public Property MaxConcurrentCalls As Integer

Valor da propriedade

Int32

O número máximo de chamadas simultâneas para uma única instância de serviço.The maximum number of concurrent calls to a single service instance. O padrão é MaxValue.The default is MaxValue.

Atributos

Comentários

As chamadas além do limite são enfileiradas.Calls in excess of the limit are queued. Definir esse valor como 0 é equivalente a defini-lo como MaxValue .Setting this value to 0 is equivalent to setting it to MaxValue.

Aplica-se a