SPExecutionTimeCounter Constructor

Include Protected Members
Include Inherited Members

Initializes an object that represents a monitor that tracks execution time for an operation.

Overload List

  Name Description
Public method SPExecutionTimeCounter() Initializes a new counter that simply measures the execution time of the scope.
Public method SPExecutionTimeCounter(UInt32) Initializes a new counter that measures the execution time of the scope and logs if the value exceeds the specified limit.

Top

Remarks

This is meant to be used with the SPMonitoredScope class.

See Also

Reference

SPExecutionTimeCounter Class

SPExecutionTimeCounter Members

Microsoft.SharePoint.Utilities Namespace