Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the SPHttpHeaderThrottleClassifier class for the specified header, header value, and with the specified throttle level.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub New ( _
header As String, _
value As String, _
level As SPRequestThrottleLevel _
)
'Usage
Dim header As String
Dim value As String
Dim level As SPRequestThrottleLevel
Dim instance As New SPHttpHeaderThrottleClassifier(header, _
value, level)
public SPHttpHeaderThrottleClassifier(
string header,
string value,
SPRequestThrottleLevel level
)
Parameters
header
Type: System.StringThe header name.
value
Type: System.StringThe header value.
level
Type: Microsoft.SharePoint.Utilities.SPRequestThrottleLevelA throttle level.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | header or value is a null reference (Nothing in Visual Basic). |
See Also
Reference
SPHttpHeaderThrottleClassifier Class
SPHttpHeaderThrottleClassifier Members