共用方式為


HeapEventProvider

Applies To: Windows 8, Windows 8.1

Represents a provider of heap events for the profile.

Element Hierarchy

<WindowsPerformanceRecorder>
     <Profiles>
          <HeapEventProvider>

          <Profile>
               <Collectors>
                    <HeapEventCollectorId>
                         <HeapEventProviders>
                              <HeapEventProvider>

Syntax

<HeapEventProvider Id   = IdType
                   Base = string>

  <!-- Child elements -->
  HeapProcessIds

</HeapEventProvider>

Attributes and Elements

Attributes

Attribute Description Data type Required Default

Id

Uniquely identifies the heap event provider.

String that must have at least one character and cannot contain colons (:) or spaces.

Yes

Base

Indicates the base heap event provider.

string

No

Child Elements

Element Description Requirement

HeapProcessIds

Represents a collection of heap process identifiers.

Required, exactly 1.

Parent Elements

Element Description

HeapEventProviders

Represents a collection of heap event provider identifiers and heap event providers.

Profiles

Represents a collection of collectors, providers, and profiles.

Remarks

Derived heap event providers have all the attributes of the base provider by default. These can be overridden by explicitly specifying them in the derived provider. For more information, see Inheritance.

See Also

Other Resources

Elements