ProcessModelSection.MaxAppDomains プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
1 つのプロセスで許容されるアプリケーション ドメインの最大数を取得または設定します。
public:
property int MaxAppDomains { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxAppDomains", DefaultValue=2000)]
[System.Configuration.IntegerValidator(MaxValue=2147483646, MinValue=1)]
public int MaxAppDomains { get; set; }
[<System.Configuration.ConfigurationProperty("maxAppDomains", DefaultValue=2000)>]
[<System.Configuration.IntegerValidator(MaxValue=2147483646, MinValue=1)>]
member this.MaxAppDomains : int with get, set
Public Property MaxAppDomains As Integer
プロパティ値
1 つのプロセスで許可されるアプリケーション ドメインの最大数。
- 属性
例
次のコード例は、 MaxAppDomains プロパティにアクセスする方法を示しています。
// Get the current MaxAppDomains property value.
int maxAppdomains =
processModelSection.MaxAppDomains;
// Set the MaxAppDomains property to 4.
processModelSection.MaxAppDomains = 4;
' Get the current MaxAppDomains property value.
Dim maxAppdomains As Integer = _
processModelSection.MaxAppDomains
' Set the MaxAppDomains property to 4.
processModelSection.MaxAppDomains = 4
注釈
MaxAppDomainsのしきい値を超えた場合、新しいアプリケーション ドメインを起動する必要がある場合は、最も使用頻度の低いアプリケーション ドメインがシャットダウンされます。