HttpRuntimeSection.AppRequestQueueLimit Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Uygulama için kuyruğa ASP.NET istek sayısı üst sınırını gösteren bir değer alır veya ayarlar.
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
Özellik Değeri
Kuyruğa alınabilecek en fazla istek sayısı.
- Öznitelikler
Örnekler
Aşağıdaki örnekte özelliğinin nasıl kullanılacağı gösterilmektedir 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
Açıklamalar
ASP.NET kuyrukları işlemek için yeterli boş iş parçacığı olmadığında istekleri gönderir.
Not
Kuyruğa alınan istek sayısı bu ayar tarafından uygulanan sınırı aştığında, gelen istekler "503 - Sunucu Çok Meşgul" hatasıyla reddedilir.