다음을 통해 공유


HttpRuntimeSection.AppRequestQueueLimit 속성

정의

애플리케이션에 대한 큐를 ASP.NET 최대 요청 수를 나타내는 값을 가져오거나 설정합니다.

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

속성 값

큐에 대기할 수 있는 최대 요청 수입니다.

특성

예제

다음 예제에서는 속성을 사용 하는 방법을 보여 있습니다 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

설명

ASP.NET 처리할 수 있는 여유 스레드가 충분하지 않은 경우 큐 요청을 큐에 넣습니다.

메모

큐에 대기 중인 요청 수가 이 설정에 의해 부과된 한도를 초과하면 들어오는 요청이 "503 - Server Too Busy" 오류와 함께 거부됩니다.

적용 대상