Gemstone Diagnostics Library
Show/Hide TOC

# TimerTrace Class

Executes a trace on the Timer for all queued timers.

## Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.158 -- Release Build+99afb604a3213fce45692d9a55b9e5a5d4bade5b
C#
View Source Request Example

    public static class TimerTrace

VB
View Source Request Example

    Public NotInheritable Class TimerTrace

C++
View Source Request Example

    public ref class TimerTrace abstract sealed

JavaScript
View Source Request Example

    Gemstone.Diagnostics.TimerTrace = function();

    Type.createClass(
    	'Gemstone.Diagnostics.TimerTrace');

Inheritance
  Object TimerTrace

## Remarks

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(StringBuilder) will return "Not Supported"

## Properties

WorksInThisRuntime | Indicates that this trace works in the runtime version of .NET.

## Methods

GetTrace | Gets all of the callbacks for all timers.

## See Also

#### Reference

Gemstone.Diagnostics Namespace