SPTaskUsageMonitoredScope constructor (SPDiagnosticsState, String)
Constructs an SPTaskUsageMonitoredScope for an asynchronous task
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
state As SPDiagnosticsState, _
name As String _
)
'Usage
Dim state As SPDiagnosticsState
Dim name As String
Dim instance As New SPTaskUsageMonitoredScope(state, name)
public SPTaskUsageMonitoredScope(
SPDiagnosticsState state,
string name
)
Parameters
state
Type: Microsoft.SharePoint.Utilities.SPDiagnosticsStateSpecifies the diagnostics state for the aysnchronous task
name
Type: System.StringSpecifies the name of the scope taks that is being performed
See also
Reference
SPTaskUsageMonitoredScope class
SPTaskUsageMonitoredScope members