SPAsyncThreadDiagnosticsContext class
This is an utility class used in async thread for diagnostics info. It is suposed to called in the async thread. to set the right correlation and ULS trace override context.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Utilities.SPAsyncThreadDiagnosticsContext
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Class SPAsyncThreadDiagnosticsContext _
Implements IDisposable
'Usage
Dim instance As SPAsyncThreadDiagnosticsContext
public class SPAsyncThreadDiagnosticsContext : IDisposable
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.