ProcessModelSection.WebGarden Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value enabling the available CPUs to run the worker processes.
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
Property Value
true
, if CpuMask is used to map the worker processes to the number of eligible CPUs; false
if CpuMask is ignored.
- Attributes
Examples
The following code example shows how to access the WebGarden property.
// 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
Remarks
The WebGarden property must be used with the CpuMask property.
If the WebGarden property is set to false
, the CpuMask attribute is ignored and only one worker process runs.
Note
A multiprocessor Web server is called a Web garden.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기