Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines if the request is of the type whose throttling is managed by the SPHttpUserAgentAndMethodClassifier object.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Function Match ( _
request As HttpRequest _
) As Boolean
'Usage
Dim instance As SPHttpUserAgentAndMethodClassifier
Dim request As HttpRequest
Dim returnValue As Boolean
returnValue = instance.Match(request)
public override bool Match(
HttpRequest request
)
Parameters
request
Type: System.Web.HttpRequestThe HTTP request.
Return Value
Type: System.Boolean
true, if the requested resource matches the user agent, the HTTP method, or both, as specified by the MatchSetting property; otherwise false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | request is a null reference (Nothing in Visual Basic). |
See Also
Reference
SPHttpUserAgentAndMethodClassifier Class