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

속성 값

Int32

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

특성

예제

다음 코드 예제에서는 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 임계값이 초과, 최소 사용 되는 애플리케이션 도메인 종료 될 때 새 애플리케이션 도메인을 시작 해야 합니다.

적용 대상