ITraceTimestampContext Interface
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.
Defines the context needed to interpret a TraceTimestampValue.
public interface ITraceTimestampContext
type ITraceTimestampContext = interface
Public Interface ITraceTimestampContext
Properties
ClockType |
Gets the clock type used by the trace. |
IsPartial |
Gets a value that indicates whether the context is being used with a trace timestamp that is only accurate to nanoseconds, and a full TraceTimestampValue value is not available. |
ReferenceTime |
Gets an absolute time that is know to match up exactly with the ReferenceValue. |
ReferenceValue |
Gets an original timestamp value that is known to match up exactly with the ReferenceTime. |
Methods
GetApproximateValue(Timestamp) |
Gets a TraceTimestampValue that approximates a Timestamp within the trace. |
GetDateTimeOffset(TraceTimestampValue) |
Gets the absolute clock time for an original timestamp in an event header or payload. |
GetRelativeTimestamp(TraceTimestampValue) |
Gets a trace-relative timestamp from an original timestamp in an event header or payload. |
Extension Methods
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈