Muokkaa

Jaa


TraceEventCache.Timestamp Property

Definition

Gets the current number of ticks in the timer mechanism.

public:
 property long Timestamp { long get(); };
public long Timestamp { get; }
member this.Timestamp : int64
Public ReadOnly Property Timestamp As Long

Property Value

The tick counter value of the underlying timer mechanism.

Remarks

The get accessor calls the Stopwatch.GetTimestamp method to get the timestamp. If the Stopwatch class uses a high-resolution performance counter, GetTimestamp returns the current value of that counter. If the Stopwatch class uses the system timer, GetTimestamp returns the Ticks property of DateTime.Now.

Applies to