다음을 통해 공유


HttpRuntimeSection.MinLocalRequestFreeThreads 속성

정의

로컬 요청을 서비스하는 데 필요한 최소 사용 가능한 스레드 수를 가져오거나 설정합니다.

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

속성 값

로컬 요청에 할당된 최소 사용 권한 스레드 수입니다. 기본값은 4입니다.

특성

예제

다음 예제에서는 속성을 사용 하는 방법을 보여 있습니다 MinLocalRequestFreeThreads .

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

설명

이 속성은 MinLocalRequestFreeThreads 새 로컬 요청을 실행할 수 있도록 ASP.NET 사용할 수 있는 여유 스레드 수를 정의합니다. 웹 서버에 재귀 재진입하여 교착 상태가 발생할 수 없도록 하기 위한 것입니다.

적용 대상

추가 정보