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.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
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