ProcessModelSection.RestartQueueLimit Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating the maximum number of requests queued by the ISAPI while waiting for a new worker process to start handling the requests.
public:
property int RestartQueueLimit { int get(); void set(int value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))]
[System.Configuration.ConfigurationProperty("restartQueueLimit", DefaultValue=10)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int RestartQueueLimit { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))>]
[<System.Configuration.ConfigurationProperty("restartQueueLimit", DefaultValue=10)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.RestartQueueLimit : int with get, set
Public Property RestartQueueLimit As Integer
Property Value
The number of requests queued. The default is 10.
- Attributes
Examples
The following code example shows how to access the RestartQueueLimit property.
// Get the current RestartQueueLimit property value.
int restartQueueLimit =
processModelSection.RestartQueueLimit;
// Set the RestartQueueLimit property to 8.
processModelSection.RestartQueueLimit = 8;
' Get the current RestartQueueLimit property value.
Dim restartQueueLimit As Integer = _
processModelSection.RestartQueueLimit
' Set the RestartQueueLimit property to 8.
processModelSection.RestartQueueLimit = 8
Remarks
When this limit is exceeded, a client request will receive a 503 error until the worker process is ready.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET