SPHttpHeaderThrottleClassifier class
啟用節流包含指定的標頭的 HTTP 要求的管理。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Utilities.SPRequestThrottleClassifier
Microsoft.SharePoint.Utilities.SPHttpHeaderThrottleClassifier
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public NotInheritable Class SPHttpHeaderThrottleClassifier _
Inherits SPRequestThrottleClassifier
'用途
Dim instance As SPHttpHeaderThrottleClassifier
public sealed class SPHttpHeaderThrottleClassifier : SPRequestThrottleClassifier
備註
使用這個類別的物件來設定節流要求根據指定的要求標頭的值或根據指定的要求標頭的存在,即使它的值是a null reference (Nothing in Visual Basic)或空白。例如,無法節流閥已為某個值的Referrer標頭的要求或無法節流閥所有要求,就可以有任何值,包括a null reference (Nothing in Visual Basic)的From標頭或空的。
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.