SPAsyncThreadDiagnosticsContext class

SharePoint 2013

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.


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

public class SPAsyncThreadDiagnosticsContext : IDisposable

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.