Share via


HttpRuntimeSection.AppRequestQueueLimit Propiedad

Definición

Obtiene o establece un valor que indica el número máximo de solicitudes que ASP.NET pone en cola para la aplicación.

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

Valor de propiedad

Int32

Número máximo de solicitudes que se pueden poner en cola.

Atributos

Ejemplos

En el ejemplo siguiente se muestra cómo usar la propiedad AppRequestQueueLimit.

// Get the AppRequestQueueLimit property value.
Response.Write("AppRequestQueueLimit: " +
  configSection.AppRequestQueueLimit + "<br>");

// Set the AppRequestQueueLimit property value to 4500.
configSection.AppRequestQueueLimit = 4500;
' Get the AppRequestQueueLimit property value.
Response.Write("AppRequestQueueLimit: " & _
  configSection.AppRequestQueueLimit & "<br>")

' Set the AppRequestQueueLimit property value to 4500.
configSection.AppRequestQueueLimit = 4500

Comentarios

ASP.NET pone en cola las solicitudes cuando no hay suficientes subprocesos libres para procesarlas.

Nota

Cuando el número de solicitudes en cola supera el límite impuesto por esta configuración, las solicitudes entrantes se rechazarán con un error "503 - Servidor demasiado ocupado".

Se aplica a