Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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, _
severity As TraceSeverity _
)
'Usage
Dim state As SPDiagnosticsState
Dim name As String
Dim severity As TraceSeverity
Dim instance As New SPTaskUsageMonitoredScope(state, name, _
severity)
public SPTaskUsageMonitoredScope(
SPDiagnosticsState state,
string name,
TraceSeverity severity
)
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
severity
Type: Microsoft.SharePoint.Administration.TraceSeveritySpecifies the severity level for logging this SPTaskUsage monitored scope
See also
Reference
SPTaskUsageMonitoredScope class
SPTaskUsageMonitoredScope members