C# 클래스 GSF.Diagnostics.ThreadPoolTrace

Executes a trace on the ThreadPool for all callbacks currently queued. This will not include work items that have a time delayed callback.
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 will return "Not Supported"
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
GetTrace ( StringBuilder sb ) : void

Traces all queued items on the ThreadPool.

비공개 메소드들

메소드 설명
ProcessIThreadPoolWorkItem ( StringBuilder sb, object item ) : void
ThreadPoolTrace ( ) : System
TryProcessThreadingTimerCallback ( StringBuilder sb, WaitCallback callback, object state ) : bool
TryProcessTimersTimerCallback ( StringBuilder sb, TimerCallback timerCallback ) : bool

메소드 상세

GetTrace() 공개 정적인 메소드

Traces all queued items on the ThreadPool.
public static GetTrace ( StringBuilder sb ) : void
sb StringBuilder
리턴 void