HttpRuntimeSection.MinLocalRequestFreeThreads プロパティ

定義

ローカル要求の処理に必要なフリー スレッドの最小数を取得または設定します。

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

プロパティ値

Int32

ローカル要求に割り当てられたフリー スレッドの最小数。 既定値は 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 サーバーへの再帰的再入によるデッドロックの可能性を回避することです。

適用対象

こちらもご覧ください