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
serviceContext
Type: Microsoft.SharePoint.Administration.ServiceCallHeaderInfoThe service context information.
name
Type: System.StringThe scope name.
See also
Reference
SPRequestUsageMonitoredScope class