This documentation is archived and is not being maintained.

HttpRuntimeSection.MinLocalRequestFreeThreads Property

Gets or sets the minimum number of free threads required to service a local request.

Namespace:  System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

<ConfigurationPropertyAttribute("minLocalRequestFreeThreads", DefaultValue := )> _
<IntegerValidatorAttribute(MinValue := )> _
Public Property MinLocalRequestFreeThreads As Integer
Dim instance As HttpRuntimeSection 
Dim value As Integer 

value = instance.MinLocalRequestFreeThreads

instance.MinLocalRequestFreeThreads = value

Property Value

Type: System.Int32
The minimum number of free threads assigned to local requests. The default value is 4.

The MinLocalRequestFreeThreads property defines the number of free threads that ASP.NET keeps available to allow execution of new local requests. The intent is to avoid a possible deadlock with recursive reentry into the Web server.

The following example shows how to use the MinLocalRequestFreeThreads property.

' Get the MinLocalRequestFreeThreads property value.
Response.Write("MinLocalRequestFreeThreads: " & _
  configSection.MinLocalRequestFreeThreads & "<br>")

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

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0