Click or drag to resize

ThreadPoolTrace Class

Executes a trace on the ThreadPool for all callbacks currently queued. This will not include work items that have a time delayed callback.
Inheritance Hierarchy
SystemObject
  GSF.DiagnosticsThreadPoolTrace

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntax
public static class ThreadPoolTrace
View Source

The ThreadPoolTrace type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberWorksInThisRuntime Indicates that this trace works in the runtime version of .NET.
Top
Methods
 NameDescription
Public methodStatic memberGetTrace Traces all queued items on the ThreadPool.
Top
Remarks
This class heavily relies on reflection to get the ThreadPool queue. Therefore it is very unlikely to work in MONO and can break if Microsoft changes any of the member names or how the ThreadPool works. In this case WorksInThisRuntime will be set to false and GetTrace(StringBuilder) will return "Not Supported"
See Also