共用方式為


Keyword (in EventProvider)

Applies To: Windows 8, Windows 8.1

Describes the Event Tracing for Windows® (ETW) keyword for a user-mode provider.

Element Hierarchy

<WindowsPerformanceRecorder>
     <Profiles>
          <EventProvider>
               <Keywords (in EventProvider)>
                    <Keyword (in EventProvider)>

               <CaptureStateOnStart>
                    <Keyword (in EventProvider)>

               <CaptureStateOnSave>
                    <Keyword (in EventProvider)>

          <HeapEventProvider>
               <Keywords (in EventProvider)>
                    <Keyword (in EventProvider)>

          <Profile>
               <Collectors>
                    <EventCollectorId>
                         <EventProviders>
                              <EventProviderId>
                                   <Keywords (in EventProvider)>
                                        <Keyword (in EventProvider)>

                              <EventProvider>
                                   <Keywords (in EventProvider)>
                                        <Keyword (in EventProvider)>

                                   <CaptureStateOnStart>
                                        <Keyword (in EventProvider)>

                                   <CaptureStateOnSave>
                                        <Keyword (in EventProvider)>

                    <HeapEventCollectorId>
                         <HeapEventProviders>
                              <HeapEventProviderId>
                                   <Keywords (in EventProvider)>
                                        <Keyword (in EventProvider)>

                              <HeapEventProvider>
                                   <Keywords (in EventProvider)>
                                        <Keyword (in EventProvider)>

Syntax

<Keyword Value string
</Keyword>

Attributes and Elements

Attributes

Attribute Description Data type Required Default

Value

String that is the name of the ETW event.

string

Yes

Child Elements

None.

Parent Elements

Element Description

Keywords (in EventProvider)

Represents a collection of event provider keywords.

See Also

Other Resources

Elements