HttpRuntimeSection.MinLocalRequestFreeThreads プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ローカル要求の処理に必要な空きスレッドの最小数を取得または設定します。
public:
property int MinLocalRequestFreeThreads { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("minLocalRequestFreeThreads", DefaultValue=4)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MinLocalRequestFreeThreads { get; set; }
[<System.Configuration.ConfigurationProperty("minLocalRequestFreeThreads", DefaultValue=4)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MinLocalRequestFreeThreads : int with get, set
Public Property MinLocalRequestFreeThreads As Integer
プロパティ値
ローカル要求に割り当てられた空きスレッドの最小数。 既定値は 4 です。
- 属性
例
次の例は、 MinLocalRequestFreeThreads プロパティの使用方法を示しています。
// Get the MinLocalRequestFreeThreads property value.
Response.Write("MinLocalRequestFreeThreads: " +
configSection.MinLocalRequestFreeThreads + "<br>");
// Set the MinLocalRequestFreeThreads property value to 8.
configSection.MinLocalRequestFreeThreads = 8;
' Get the MinLocalRequestFreeThreads property value.
Response.Write("MinLocalRequestFreeThreads: " & _
configSection.MinLocalRequestFreeThreads & "<br>")
' Set the MinLocalRequestFreeThreads property value to 8.
configSection.MinLocalRequestFreeThreads = 8
注釈
MinLocalRequestFreeThreads プロパティは、新しいローカル要求の実行を許可するために ASP.NET 保持する空きスレッドの数を定義します。 目的は、Web サーバーへの再帰的な再入によってデッドロックが発生する可能性を回避することです。