SPAsyncThreadDiagnosticsContext class
這是在非同步執行緒中用於診斷資訊的公用程式類別。它應該在非同步執行緒中呼叫。若要設定權限的相互關聯與 ULS 追蹤覆寫內容。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Utilities.SPAsyncThreadDiagnosticsContext
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Class SPAsyncThreadDiagnosticsContext _
Implements IDisposable
'用途
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.