Share via


SPRequestUsageCounter constructor (Int32)

Initializes a new instance of the SPRequestUsageCounter class. This constructor initializes the object with a value that determines the maximum number of SPRequest objects that can exist within this scope before the logging level is increased.

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

Syntax

'Declaration
Public Sub New ( _
    maxValue As Integer _
)
'Usage
Dim maxValue As Integer

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

Parameters

  • maxValue
    Type: System.Int32

    The maximum number of SPRequest objects that can exist within this scope before the logging level is increased.

See also

Reference

SPRequestUsageCounter class

SPRequestUsageCounter members

SPRequestUsageCounter overload

Microsoft.SharePoint.Utilities namespace