SPRequestUsageMonitoredScope constructor
初始化指定的服務呼叫範圍的SPRequestUsageMonitoredScope類別的新執行個體。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
serviceContext As ServiceCallHeaderInfo, _
name As String _
)
'用途
Dim serviceContext As ServiceCallHeaderInfo
Dim name As String
Dim instance As New SPRequestUsageMonitoredScope(serviceContext, _
name)
public SPRequestUsageMonitoredScope(
ServiceCallHeaderInfo serviceContext,
string name
)
參數
serviceContext
Type: Microsoft.SharePoint.Administration.ServiceCallHeaderInfo服務內容的資訊。
name
Type: System.String範圍名稱。
請參閱
參照
SPRequestUsageMonitoredScope class