Partilhar via


SPHttpHeaderThrottleClassifier Constructor (String, String, SPRequestThrottleLevel)

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

Exceptions

Exception Condition
ArgumentNullException

header or value is a null reference (Nothing in Visual Basic).

See Also

Reference

SPHttpHeaderThrottleClassifier Class

SPHttpHeaderThrottleClassifier Members

SPHttpHeaderThrottleClassifier Overload

Microsoft.SharePoint.Utilities Namespace