Share 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)

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