CustomEvents

Applies To: Windows 8, Windows 8.1

Represents a collection of custom events.

Element Hierarchy

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

Syntax

<CustomEvents Operation = "Set" | "Add"

  <!-- Child elements -->
  CustomEvent

</CustomEvents>

Attributes and Elements

Attributes

Attribute Description Data type Required Default

Operation

Indicates whether custom events should be set or added.

This attribute can have one of the following values:

  • Set

  • Add

  • Remove

No

Set

Child Elements

Element Description Requirement

CustomEvent

Represents a custom event.

Required, one or more.

Parent Elements

Element Description

TraceMergeProperty

Contains configurations that are applied when event trace log (ETL) files from multiple profiles are merged.

Example

The following code example shows how this element is used.

<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