Share via


SPAsyncThreadDiagnosticsContext constructor (SPDiagnosticsState)

Creates a new instance of the SPAsyncThreadDiagnosticsContext initializing it with the specified diagnostics state

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

Syntax

'Declaration
Public Sub New ( _
    state As SPDiagnosticsState _
)
'Usage
Dim state As SPDiagnosticsState

Dim instance As New SPAsyncThreadDiagnosticsContext(state)
public SPAsyncThreadDiagnosticsContext(
    SPDiagnosticsState state
)

Parameters

See also

Reference

SPAsyncThreadDiagnosticsContext class

SPAsyncThreadDiagnosticsContext members

SPAsyncThreadDiagnosticsContext overload

Microsoft.SharePoint.Utilities namespace