다음을 통해 공유


ProcessModelSection.WebGarden 속성

정의

사용 가능한 CPU가 작업자 프로세스를 실행할 수 있도록 하는 값을 가져오거나 설정합니다.

public:
 property bool WebGarden { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("webGarden", DefaultValue=false)]
public bool WebGarden { get; set; }
[<System.Configuration.ConfigurationProperty("webGarden", DefaultValue=false)>]
member this.WebGarden : bool with get, set
Public Property WebGarden As Boolean

속성 값

true작업자 프로세스를 적격 CPU 수에 매핑하는 데 사용되는 경우CpuMask이고, false 무시되는 경우 CpuMask

특성

예제

다음 코드 예제에서는 속성에 액세스 하는 방법을 보여 있습니다 WebGarden .


// Get the current WebGarden property value.
bool webGarden = 
 processModelSection.WebGarden;

// Set the WebGarden property to true.
processModelSection.WebGarden = true;
' Get the current WebGarden property value.
   Dim webGarden As Boolean = _
   processModelSection.WebGarden

' Set the WebGarden property to true.
processModelSection.WebGarden = True

설명

속성과 WebGarden 함께 CpuMask 사용해야 합니다.

속성이 WebGarden 설정 falseCpuMask 되면 특성이 무시되고 하나의 작업자 프로세스만 실행됩니다.

메모

다중 프로세서 웹 서버를 웹 정원이라고 합니다.

적용 대상