Share via


SPDiagnosticsState.Current property

Returns an instance of the SPDiagnosticsState object which can be used for providing diagnostic informaiton during asynchronous operations

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

Syntax

'Declaration
Public Shared ReadOnly Property Current As SPDiagnosticsState
    Get
'Usage
Dim value As SPDiagnosticsState

value = SPDiagnosticsState.Current
public static SPDiagnosticsState Current { get; }

Property value

Type: Microsoft.SharePoint.Utilities.SPDiagnosticsState
Returns an instance of the SPDiagnosticsState class, or null if the active thread

See also

Reference

SPDiagnosticsState class

SPDiagnosticsState members

Microsoft.SharePoint.Utilities namespace