ProcessModelSection.RequestLimit 속성

정의

작업자 프로세스를 재생하기 전에 허용되는 요청 수를 나타내는 값을 가져오거나 설정합니다.

public:
 property int RequestLimit { int get(); void set(int value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))]
[System.Configuration.ConfigurationProperty("requestLimit", DefaultValue=2147483647)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int RequestLimit { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))>]
[<System.Configuration.ConfigurationProperty("requestLimit", DefaultValue=2147483647)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.RequestLimit : int with get, set
Public Property RequestLimit As Integer

속성 값

Int32

허용되는 요청의 수입니다. 기본값은 Infinite입니다.

특성

예제

다음 코드 예제에서는 RequestLimit 속성을 사용하는 방법을 보여 줍니다.


// Get the current RequestLimit property value.
int reqLimit = 
    processModelSection.RequestLimit;

// Set the RequestLimit property to 4096.
processModelSection.RequestLimit = 4096;
' Get the current RequestLimit property value.
   Dim reqLimit As Integer = _
   processModelSection.RequestLimit

' Set the RequestLimit property to 4096.
processModelSection.RequestLimit = 4096

설명

이 요청의 수를 초과 하는 경우 ASP.NET의 현재 위치를 차지 하는 새 작업자 프로세스를 자동으로 시작 합니다.

적용 대상