Share via


SPRequestUsageMonitoredScope constructor

Initializes a new instance of the SPRequestUsageMonitoredScope class for the specified service call scope.

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

Syntax

'Declaration
Public Sub New ( _
    serviceContext As ServiceCallHeaderInfo, _
    name As String _
)
'Usage
Dim serviceContext As ServiceCallHeaderInfo
Dim name As String

Dim instance As New SPRequestUsageMonitoredScope(serviceContext, _
    name)
public SPRequestUsageMonitoredScope(
    ServiceCallHeaderInfo serviceContext,
    string name
)

Parameters

See also

Reference

SPRequestUsageMonitoredScope class

SPRequestUsageMonitoredScope members

Microsoft.SharePoint.Administration namespace