Compartilhar via


SPRequestThrottleLevel Enumeration

Specifies when HTTP requests are throttled.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Enumeration SPRequestThrottleLevel
'Usage
Dim instance As SPRequestThrottleLevel
public enum SPRequestThrottleLevel

Members

Member name Description
Normal Requests are not throttled. (value = 0)
FirstStage Requests are throttled when the performance-monitoring infrastructure finds that the server is busy. (value = 16)
SecondStage Requests are throttled when the performance-monitoring infrastructure finds that the server has been busy for at least 60 seconds. (value = 32)
Never Requests are never throttled. (value = 48)
NotSet Undefined throttling level. (value = 64)

Remarks

The FirstStage and SecondStage values can apply to either a worker process (to indicate what stage of throttling it is in) or to a type of HTTP request (to indicate in which stage requests of that type are throttled).

The Normal value applies only to a worker process and it indicates that the process is healthy and no throttling is occurring.

The Never value applies only to a type of HTTP request and it indicates that requests of that type are exempt from throttling no matter how busy the worker process is.

See Also

Reference

Microsoft.SharePoint.Utilities Namespace