共用方式為


SPRequestUsageCounter constructor (Int32)

初始化SPRequestUsageCounter類別的新執行個體。這個建構函式會初始化物件以判斷之前增加記錄級別,在這個範圍內可存在的SPRequest物件的最大數目的值。

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

Syntax

'宣告
Public Sub New ( _
    maxValue As Integer _
)
'用途
Dim maxValue As Integer

Dim instance As New SPRequestUsageCounter(maxValue)
public SPRequestUsageCounter(
    int maxValue
)

參數

  • maxValue
    Type: System.Int32

    可以存在於這個範圍內之前增加記錄層級的SPRequest物件的數目上限。

請參閱

參照

SPRequestUsageCounter class

SPRequestUsageCounter members

SPRequestUsageCounter overload

Microsoft.SharePoint.Utilities namespace