Export (0) Print
Expand All

SPHttpHeaderThrottleClassifier class

Enables the management of throttling for HTTP requests that include a specified header.

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

public sealed class SPHttpHeaderThrottleClassifier : SPRequestThrottleClassifier

Use objects of this class to configure throttling for requests based on the value of a specified request header or based on the presence of specified request header even if its value is a null reference (Nothing in Visual Basic) or empty. For example, you could throttle requests that have a Referrer header with a certain value, or you could throttle all requests that have a From header that has any value including a null reference (Nothing in Visual Basic) or empty.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft