ProcessModelSection.MaxAppDomains 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
한 프로세스에서 허용되는 최대 애플리케이션 도메인 수를 가져오거나 설정합니다.
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 초과하면 새 애플리케이션 도메인을 시작해야 하는 경우 가장 적게 사용되는 애플리케이션 도메인이 종료됩니다.