ProcessModelSection.RestartQueueLimit Propriedade

Definição

Recebe ou define um valor que indica o número máximo de pedidos em fila pelo ISAPI enquanto espera que um novo processo de trabalho comece a tratar os pedidos.

public:
 property int RestartQueueLimit { int get(); void set(int value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))]
[System.Configuration.ConfigurationProperty("restartQueueLimit", DefaultValue=10)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int RestartQueueLimit { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))>]
[<System.Configuration.ConfigurationProperty("restartQueueLimit", DefaultValue=10)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.RestartQueueLimit : int with get, set
Public Property RestartQueueLimit As Integer

Valor de Propriedade

O número de pedidos em fila. O padrão é 10.

Atributos

Exemplos

O seguinte exemplo de código mostra como aceder à RestartQueueLimit propriedade.


// Get the current RestartQueueLimit property value.
int restartQueueLimit = 
    processModelSection.RestartQueueLimit;

// Set the RestartQueueLimit property to 8.
processModelSection.RestartQueueLimit = 8;
' Get the current RestartQueueLimit property value.
   Dim restartQueueLimit As Integer = _
   processModelSection.RestartQueueLimit

' Set the RestartQueueLimit property to 8.
processModelSection.RestartQueueLimit = 8

Observações

Quando este limite é ultrapassado, um pedido de cliente receberá um erro 503 até que o processo trabalhador esteja pronto.

Aplica-se a