CustomEvent

Applies To: Windows 8, Windows 8.1

Represents a custom event.

Element Hierarchy

<WindowsPerformanceRecorder>
     <TraceMergeProperties>
          <TraceMergeProperty>
               <CustomEvents>
                    <CustomEvent>

Syntax

<CustomEvent Value = "None" | "ImageId" | "BuildInfo" | ...>
</CustomEvent>

Attributes and Elements

Attributes

Attribute Description Data type Required Default

Value

Describes the value of the custom event.

This attribute can have one of the following values:

  • None

  • ImageId

  • BuildInfo

  • VolumeMapping

  • EventMetadata

  • PerfTrackMetadata

  • WinSAT

  • NetworkInterface

Yes

Child Elements

None.

Parent Elements

Element Description

CustomEvents

Represents a collection of custom events.

Example

The following code example shows how this element is used in a trace merge property definition.

<TraceMergeProperty
  Id="TraceMerge_Default"
  Name="TraceMerge_Default">
  <DeletePreMergedTraceFiles
    Value="true"/>
  <CustomEvents>
    <CustomEvent
      Value="ImageId"/>
    <CustomEvent
      Value="BuildInfo"/>
    <CustomEvent
      Value="VolumeMapping"/>
    <CustomEvent
      Value="EventMetadata"/>
    <CustomEvent
      Value="PerfTrackMetadata"/>
    <CustomEvent
      Value="WinSAT"/>
    <CustomEvent
      Value="NetworkInterface"/>
  </CustomEvents>
</TraceMergeProperty>

See Also

Other Resources

Elements