Share via


SPHttpUserAgentAndMethodClassifier members

Enables the management of throttling for HTTP requests for a specified user agent, a specified HTTP method, or a combination of agent and method.

The SPHttpUserAgentAndMethodClassifier type exposes the following members.

Constructors

  Name Description
Public method SPHttpUserAgentAndMethodClassifier() Initializes a new instance of the SPHttpUserAgentAndMethodClassifier class.
Public method SPHttpUserAgentAndMethodClassifier(String, String, SPHttpUserAgentAndMethodClassifier.MatchSettings, SPRequestThrottleLevel) Initializes a new instance of the SPHttpUserAgentAndMethodClassifier class by using specified values for its properties.

Top

Properties

  Name Description
Public property HttpMethod Gets the name of the HTTP method of requests that match.
Public property MatchSetting Gets a value that specifies in what ways the request must match the SPHttpUserAgentAndMethodClassifier object.
Public property ThrottleLevel Gets a value that specifies when matching requests are throttled. (Overrides SPRequestThrottleClassifier.ThrottleLevel.)
Public property UserAgent Gets the user agent of requests that match.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current SPHttpUserAgentAndMethodClassifier object. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets a hash code for the object. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method Match Determines if the request is of the type whose throttling is managed by the SPHttpUserAgentAndMethodClassifier object. (Overrides SPRequestThrottleClassifier.Match(HttpRequest).)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a String that represents the current SPHttpUserAgentAndMethodClassifier object. (Overrides Object.ToString().)

Top

See also

Reference

SPHttpUserAgentAndMethodClassifier class

Microsoft.SharePoint.Utilities namespace