ITraceTimestampContext.GetDateTimeOffset(TraceTimestampValue) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).