SPAsyncThreadDiagnosticsContext constructor (SPDiagnosticsState)
建立新的執行個體的初始化具有指定的診斷狀態 SPAsyncThreadDiagnosticsContext
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
state As SPDiagnosticsState _
)
'用途
Dim state As SPDiagnosticsState
Dim instance As New SPAsyncThreadDiagnosticsContext(state)
public SPAsyncThreadDiagnosticsContext(
SPDiagnosticsState state
)
參數
state
Type: Microsoft.SharePoint.Utilities.SPDiagnosticsState指定要使用的診斷狀態
請參閱
參照
SPAsyncThreadDiagnosticsContext class
SPAsyncThreadDiagnosticsContext members