次の方法で共有


SPHttpUserAgentAndMethodClassifier.Match method

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)

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

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

SPHttpUserAgentAndMethodClassifier members

Microsoft.SharePoint.Utilities namespace