Compartir vía


HttpRuntimeSection.MinLocalRequestFreeThreads Propiedad

Definición

Obtiene o establece el número mínimo de subprocesos libres necesarios para atender una solicitud local.

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

Valor de propiedad

Número mínimo de subprocesos libres asignados a solicitudes locales. El valor predeterminado es 4.

Atributos

Ejemplos

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

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

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

' Set the MinLocalRequestFreeThreads property value to 8.
configSection.MinLocalRequestFreeThreads = 8

Comentarios

La MinLocalRequestFreeThreads propiedad define el número de subprocesos libres que ASP.NET mantiene disponible para permitir la ejecución de nuevas solicitudes locales. La intención es evitar un posible interbloqueo con reentrada recursiva en el servidor web.

Se aplica a

Consulte también