SPAsyncThreadDiagnosticsContext 构造函数 (SPDiagnosticsState)

创建与指定的诊断状态对其进行初始化 SPAsyncThreadDiagnosticsContext 的一个新实例

命名空间:  Microsoft.SharePoint.Utilities
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub New ( _
    state As SPDiagnosticsState _
)
用法
Dim state As SPDiagnosticsState

Dim instance As New SPAsyncThreadDiagnosticsContext(state)
public SPAsyncThreadDiagnosticsContext(
    SPDiagnosticsState state
)

参数

另请参阅

引用

SPAsyncThreadDiagnosticsContext 类

SPAsyncThreadDiagnosticsContext 成员

SPAsyncThreadDiagnosticsContext 重载

Microsoft.SharePoint.Utilities 命名空间