ITraceTimestampContext.GetDateTimeOffset(TraceTimestampValue) Method

Definition

Gets the absolute clock time for an original timestamp in an event header or payload.

public DateTimeOffset GetDateTimeOffset (Microsoft.Windows.EventTracing.TraceTimestampValue traceTimestampValue);
abstract member GetDateTimeOffset : Microsoft.Windows.EventTracing.TraceTimestampValue -> DateTimeOffset

Parameters

traceTimestampValue
TraceTimestampValue

The original timestamp value from the event header or payload.

Returns

The absolute clock time for an original timestamp in an event header or payload.

Remarks

The precision of DateTimeOffset is only in ticks (100-nanosecond intervals), which is usually less than the TraceTimestampValue (which is usually more precise than nanoseconds) as well as Timestamp (which is precise to nanoseconds).

Applies to