Compartir vía


ProcessModelSection.RestartQueueLimit Propiedad

Definición

Obtiene o establece un valor que indica el número máximo de solicitudes en cola por isAPI mientras espera a que un nuevo proceso de trabajo empiece a controlar las solicitudes.

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 propiedad

Número de solicitudes en cola. El valor predeterminado es 10.

Atributos

Ejemplos

En el ejemplo de código siguiente se muestra cómo acceder a la RestartQueueLimit propiedad .


// 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

Comentarios

Cuando se supera este límite, una solicitud de cliente recibirá un error 503 hasta que el proceso de trabajo esté listo.

Se aplica a