次の方法で共有


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 - サーバーがビジー状態です" エラーで拒否されます。

適用対象