Compartilhar via


SPRequestThrottleClassifier.Match Method

When implemented in a derived class, indicates whether the specified HTTP request is of the kind that needs to be throttled (or not) in accordance with the value of the ThrottleLevel property.

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

Syntax

'Declaration
Public MustOverride Function Match ( _
    request As HttpRequest _
) As Boolean
'Usage
Dim instance As SPRequestThrottleClassifier
Dim request As HttpRequest
Dim returnValue As Boolean

returnValue = instance.Match(request)
public abstract bool Match(
    HttpRequest request
)

Parameters

Return Value

Type: System.Boolean
true, if the request matches; otherwise, false.

See Also

Reference

SPRequestThrottleClassifier Class

SPRequestThrottleClassifier Members

Microsoft.SharePoint.Utilities Namespace