編輯

共用方式為


TraceEvent Struct

Definition

Represents an event from an ETW trace.

public struct TraceEvent
type TraceEvent = struct
Public Structure TraceEvent
Inheritance
TraceEvent

Properties

ActivityId
AsClassicEvent
AsGenericEvent
AsTraceMessageEvent
Channel
ComponentId
Data
ExtendedData
Flags
HasValue
HeaderProperties
HeaderType

Gets the type of header used to log the event.

Id

Gets the ID of the event.

Is32Bit
IsClassic
IsGeneric
IsTraceLogging
IsTraceMessage
KernelTime
Keyword
Length
Level
LoggerId
Opcode
ProcessId
Processor
ProcessorTime
ProviderId

Gets the ID of the provider that logged the event.

RawPointer
SequenceNumber
Task
ThreadId
Timestamp

Gets the time at which the event was logged in the trace.

UserTime
Version

Applies to