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)
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
request
Type: System.Web.HttpRequestThe HTTP request.
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