desktop8:Channel
指定用于事件跟踪的通道。
元素层次结构
<desktop8:Channel>
语法
<desktop8:Channel
Name = 'A string with a value between 1 and 2084 characters.'
Type = 'A string that can be one of the following values: "admin", "operational", "analytic", or "debug".'
Access = 'An alphanumeric string with a value between 1 and 2084 characters.'
Isolation = 'A string that can be one of the following values: "application", "system", or "custom".'
Enabled = 'A boolean value.' >
<!-- Child Elements -->
desktop8:Logging
desktop8:Publishing
</desktop8:Channel>
特性和元素
属性
属性 | 说明 | 数据类型 | 必须 | 默认值 |
---|---|---|---|---|
名称 | 信道的名称。 | 一个字符串,其值介于 1 到 2,084 个字符之间。 | 是 | |
类型 | 通道的类型。 | 可以是下列值之一的字符串值: admin、 operational、 analytic 或 debug。 | 是 | |
Access | 通道的访问级别。 | 一个字母数字字符串,其值介于 1 到 2084 个字符之间。 | 否 | |
隔离 | 指定通道的隔离属性。 | 可以是以下值之一的字符串: application、 system 或 custom。 | 否 | |
已启用 | 指定是否启用通道。 | 布尔值。 | 否 | false |
子元素
子元素 | 描述 |
---|---|
desktop8:Logging | 提供对事件跟踪通道中的日志记录功能的访问权限。 |
desktop8:Publishing | 提供对事件跟踪通道中的发布功能的访问权限。 |
父元素
父元素 | 描述 |
---|---|
desktop8:Channels | 允许为事件跟踪指定一个或多个通道。 |
要求
项 | 值 |
---|---|
命名空间 | http://schemas.microsoft.com/appx/manifest/desktop/windows10/8 |
Minimum OS Version | Windows 11版本 21H2 (内部版本 22000) |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈