Compartilhar via


SPHttpFileExtensionThrottleClassifier.Match Method

Determines if the request is for a resource with the matching file extension.

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 SPHttpFileExtensionThrottleClassifier
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 has the extension.

Exceptions

Exception Condition
ArgumentNullException

request is a null reference (Nothing in Visual Basic).

See Also

Reference

SPHttpFileExtensionThrottleClassifier Class

SPHttpFileExtensionThrottleClassifier Members

Microsoft.SharePoint.Utilities Namespace