EventsType 复杂类型
包含清单中定义的提供程序的列表。
<xs:complexType name="EventsType">
<xs:choice
maxOccurs="unbounded"
>
<xs:element name="provider"
type="ProviderType"
maxOccurs="unbounded"
/>
<xs:element name="messageTable"
minOccurs="0"
>
<xs:complexType>
<xs:sequence>
<xs:element name="message"
minOccurs="0"
maxOccurs="unbounded"
>
<xs:complexType>
<xs:attribute name="value"
type="UInt32Type"
use="required"
/>
<xs:attribute name="mid"
type="xs:string"
use="optional"
/>
<xs:attribute name="message"
type="strTableRef"
use="required"
/>
<xs:attribute name="symbol"
type="CSymbolType"
use="optional"
/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:any
processContents="lax"
minOccurs="0"
maxOccurs="unbounded"
namespace="##other"
/>
</xs:choice>
<xs:anyAttribute
namespace="##other"
/>
</xs:complexType>
子元素
元素 | 类型 | 说明 |
---|---|---|
message | 定义消息字符串。 | |
messageTable | 定义消息字符串的列表。 不应使用消息表,除非在以下情况下,必须定义消息表以向消息字符串显式分配资源编号。
|
|
供应商 | ProviderType | 要定义的提供程序的列表。 |
属性
名称 | 类型 | 说明 |
---|---|---|
message | strTableRef | 对字符串表中本地化字符串的引用。 |
mid | xs:string | 未使用。 |
符号 | CSymbolType | 希望消息编译器为此消息字符串创建的符号名称。 |
value | UInt32Type | 要用作此消息的消息标识符的数字。 |
备注
可以在清单中定义的提供程序数量的实际限制为 16 个提供程序。 如果指定了 16 个以上的提供程序,则必须使用消息表向提供程序引用的消息字符串显式分配资源编号。 有关更多详细信息,请参阅上面的消息元素。
要求
要求 | 值 |
---|---|
最低受支持的客户端 | Windows Vista [仅限桌面应用] |
最低受支持的服务器 | Windows Server 2008 [仅限桌面应用] |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈