desktop8:Provider
Registers a provider to Event Tracing and enables its functionality.
Element hierarchy
<desktop8:Provider>
Syntax
<desktop8:Provider
Id = 'A hexadecimal string that may only contain the following values: "0-9" or "A-F" (uppercase or lowercase) representing the unique identifier of the provider.'
Name = 'A string with a value between 1 and 2084 characters in length that represents the name of the provider.'
ResourceFile = 'A string value where the first character cannot contain any of the following: ".", "/", "\", or a space. Represents the path to a file.'
MessageFile = 'A string value where the first character cannot contain any of the following: ".", "/", "\", or a space. Represents the path to a file.' >
<!-- Child Elements -->
desktop8:Channels
</desktop8:Provider>
Attributes and elements
Attributes
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
Id | The unique identifier for the provider. | A hexadecimal string that may only contain the following values: "0-9" or "A-F" (uppercase or lowercase) representing the unique identifier of the provider. | Yes | |
Name | The name of the provider. | A string with a value between 1 and 2084 characters in length that represents the name of the provider. | Yes | |
ResourceFile | Specifies the path to the provider resource files. | A string value where the first character cannot contain any of the following: . , / , \ , or a space. Represents the path to a file. |
Yes | |
MessageFile | Specifies the path to the provider message files. | A string value where the first character cannot contain any of the following: . , / , \ , or a space. Represents the path to a file. |
No |
Child elements
Child element | Description |
---|---|
desktop8:Channels | Allows one or more channels to be specified for event tracing. |
Parent elements
Parent element | Description |
---|---|
desktop8:EventTracing | Enables your desktop application to log application-defined events to be consumed in real time or saved to a log file. |
Requirements
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/desktop/windows10/8 |
Minimum OS Version | Windows 11 version 21H2 (Build 22000) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for