Compartilhar via


SPHttpHeaderThrottleClassifier constructor (String, String, SPRequestThrottleLevel)

Inicializa uma nova instância da classe SPHttpHeaderThrottleClassifier para o cabeçalho especificado, o valor do cabeçalho e com o nível especificado para o acelerador.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
Public Sub New ( _
    header As String, _
    value As String, _
    level As SPRequestThrottleLevel _
)
'Uso
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
)

Parâmetros

Exceptions

Exception Condition
ArgumentNullException

header ou value é a null reference (Nothing in Visual Basic).

Ver também

Referência

SPHttpHeaderThrottleClassifier class

SPHttpHeaderThrottleClassifier members

SPHttpHeaderThrottleClassifier overload

Microsoft.SharePoint.Utilities namespace