C# Class GSF.Diagnostics.TimerTrace

Executes a trace on the System.Threading.Timer for all queued timers.
This class heavily relies on reflection to get the Timer queue. Therefore it is very unlikely to work in MONO and can break if Microsoft changes any of the member names or how the Timer works. In this case WorksInThisRuntime will be set to false and GetTrace will return "Not Supported"
Show file Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method Description
GetTrace ( StringBuilder sb ) : void

Gets all of the callbacks for all timers.

Private Methods

Method Description
ProcessTimerQueueTimer ( StringBuilder sb, object state ) : void
TimerTrace ( ) : System
TryProcessTimersTimerCallback ( StringBuilder sb, TimerCallback timerCallback ) : bool

Method Details

GetTrace() public static method

Gets all of the callbacks for all timers.
public static GetTrace ( StringBuilder sb ) : void
sb StringBuilder
return void