共用方式為


SPAsyncThreadDiagnosticsContext members

Include protected members
Include inherited members

這是在非同步執行緒中用於診斷資訊的公用程式類別。它應該在非同步執行緒中呼叫。若要設定權限的相互關聯與 ULS 追蹤覆寫內容。

The SPAsyncThreadDiagnosticsContext type exposes the following members.

Constructors

  Name Description
Public method SPAsyncThreadDiagnosticsContext(SPDiagnosticsState) 建立新的執行個體的初始化具有指定的診斷狀態 SPAsyncThreadDiagnosticsContext
Public method SPAsyncThreadDiagnosticsContext(SPDiagnosticsState, Boolean) 建立 SPAsyncThreadDiagnosticsContext 初始化具有指定的診斷狀態,但使用新的相互關聯 Id,如果要求的新執行個體

Top

Methods

  Name Description
Public method Dispose()
Protected method Dispose(Boolean)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

請參閱

參照

SPAsyncThreadDiagnosticsContext class

Microsoft.SharePoint.Utilities namespace