ProcessModelSection.MaxAppDomains プロパティ

定義

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のしきい値を超えた場合、新しいアプリケーション ドメインを起動する必要がある場合は、最も使用頻度の低いアプリケーション ドメインがシャットダウンされます。

適用対象