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"
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Méthodes publiques

Méthode Description
GetTrace ( StringBuilder sb ) : void

Gets all of the callbacks for all timers.

Private Methods

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

Method Details

GetTrace() public static méthode

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