CPULimit Property

MSBuild

The CPULimit property configures the maximum percentage of CPU resources that worker processes in an application pool are allowed to consume over a period of time, as indicated by the CPUResetInterval property. Set this property by specifying a percentage of CPU usage, multiplied by 1000. For example, if you want the CPU usage limit to be 50%, set CPULimit to 50,000.


Namespace: MSBuild.Community.Tasks.IIS
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Property CPULimit As Integer
C#
public int CPULimit { get; set; }
C++
public property int CPULimit sealed  {
    int get();
    void set(int value);
}
J#
/** property */
public int get_CPULimit();

/** property */
public void set_CPULimit(int value);
JScript
public function get CPULimit() : int

public function set CPULimit(value : int);

Property Value

Value indicating the CPU limit.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.