desktop8:Provider
将提供程序注册到事件跟踪并启用其功能。
元素层次结构
<desktop8:Provider>
语法
<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>
特性和元素
属性
属性 | 说明 | 数据类型 | 必须 | 默认值 |
---|---|---|---|---|
Id | 提供程序的唯一标识符。 | 一个只能包含以下值的十六进制字符串:“0-9”或“A-F” (大写或小写) 表示提供程序的唯一标识符。 | 是 | |
名称 | 提供程序的名称。 | 一个字符串,其值长度介于 1 到 2084 个字符之间,表示提供程序的名称。 | 是 | |
ResourceFile | 指定提供程序资源文件的路径。 | 一个字符串值,其中第一个字符不能包含以下任何内容: . 、 / 、 \ 或空格。 表示文件的路径。 |
是 | |
MessageFile | 指定提供程序消息文件的路径。 | 一个字符串值,其中第一个字符不能包含以下任何内容: . 、 / 、 \ 或空格。 表示文件的路径。 |
否 |
子元素
子元素 | 描述 |
---|---|
desktop8:Channels | 允许为事件跟踪指定一个或多个通道。 |
父元素
父元素 | 描述 |
---|---|
desktop8:EventTracing | 使桌面应用程序能够记录要实时使用或保存到日志文件的应用程序定义事件。 |
要求
项 | 值 |
---|---|
命名空间 | http://schemas.microsoft.com/appx/manifest/desktop/windows10/8 |
Minimum OS Version | Windows 11版本 21H2 (内部版本 22000) |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈