다음을 통해 공유


ProcessModelSection.MaxAppDomains 속성

정의

한 프로세스에서 허용되는 최대 애플리케이션 도메인 수를 가져오거나 설정합니다.

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

속성 값

한 프로세스에서 허용되는 최대 애플리케이션 도메인 수입니다.

특성

예제

다음 코드 예제에서는 속성에 액세스 하는 방법을 보여 있습니다 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 초과하면 새 애플리케이션 도메인을 시작해야 하는 경우 가장 적게 사용되는 애플리케이션 도메인이 종료됩니다.

적용 대상