共用方式為


Collectors

Applies To: Windows 8, Windows 8.1

Represents a collection of system collector identifiers, event collector identifiers, and optionally heap event collector identifiers.

Element Hierarchy

<WindowsPerformanceRecorder>
     <Profiles>
          <Profile>
               <Collectors>

Syntax

<Collectors Operation = "Set" | "Add" | “Remove” >

  <!-- Child elements -->
  SystemCollectorId,
  EventCollectorId,
  HeapEventCollectorId

</Collectors>

Attributes and Elements

Attributes

Attribute Description Data type Required Default

Operation

Indicates whether collectors should be set or added.

This attribute can have one of the following values:

  • Set

  • Add

  • Remove

No

Set

Child Elements

Element Description Requirement

SystemCollectorId

Represents a system collector identifier.

Optional, zero or 1. There must be at least one collector, either system or event.

EventCollectorId

Represents an event collector identifier.

Optional, zero or more. There must be at least one collector, either system or event.

HeapEventCollectorId

Represents a heap event collector identifier.

Optional, zero or more.

Parent Elements

Element Description

Profile

Represents a collection of problem categories and collectors.

See Also

Other Resources

Elements