SPExecutionTimeCounter constructor (UInt32)
初始化新的計數器來測量範圍之執行時間,以及記錄的值超過指定的限制。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
maxValue As UInteger _
)
'用途
Dim maxValue As UInteger
Dim instance As New SPExecutionTimeCounter(maxValue)
public SPExecutionTimeCounter(
uint maxValue
)
參數
maxValue
Type: System.UInt32將會自動追蹤的不帶正負號的 32 位元整數,表示的最大預期的範圍之前的範圍執行的時間量。如果執行時間超過maxValue參數,包含SPMonitoredScope物件的追蹤層級會自動提升為高的追蹤層級。
請參閱
參照
SPExecutionTimeCounter members