SPHttpHeaderThrottleClassifier constructor (String, String, SPRequestThrottleLevel)
初始化針對指定的標頭,標頭值,並以指定的流速層級的SPHttpHeaderThrottleClassifier類別的新執行個體。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
header As String, _
value As String, _
level As SPRequestThrottleLevel _
)
'用途
Dim header As String
Dim value As String
Dim level As SPRequestThrottleLevel
Dim instance As New SPHttpHeaderThrottleClassifier(header, _
value, level)
public SPHttpHeaderThrottleClassifier(
string header,
string value,
SPRequestThrottleLevel level
)
參數
header
Type: System.String標頭名稱。
value
Type: System.String標頭值。
level
Type: Microsoft.SharePoint.Utilities.SPRequestThrottleLevel節流閥層級。
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | header或value是a null reference (Nothing in Visual Basic)。 |
請參閱
參照
SPHttpHeaderThrottleClassifier class
SPHttpHeaderThrottleClassifier members