ITraceTimestampContext.ReferenceTime Property

Definition

Gets an absolute time that is know to match up exactly with the ReferenceValue.

public DateTimeOffset ReferenceTime { get; }
member this.ReferenceTime : DateTimeOffset
Public ReadOnly Property ReferenceTime As DateTimeOffset

Property Value

Remarks

Callers should not assume that the relationship between ReferenceValue and ReferenceTime is perfectly linear in both directions. For example, there may be gaps. Instead, callers should use GetDateTimeOffset(TraceTimestampValue) or GetRelativeTimestamp(TraceTimestampValue) to convert a TraceTimestampValue to an absolute or relative time.

Applies to