SPHttpHeaderThrottleClassifier.Match method

Determines if the request includes a matching header.

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

Syntax

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

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

Parameters

Return value

Type: System.Boolean
true, if (1) the request has the header and (2) the header value (if there is one) is the same as the value of the this.Value property; otherwise false.

Remarks

If the Value property is a null reference (Nothing in Visual Basic) or empty, this method returns true if a header with a name matching the Header property exists in the request.

See also

Reference

SPHttpHeaderThrottleClassifier class

SPHttpHeaderThrottleClassifier members

Microsoft.SharePoint.Utilities namespace