com4:ExeServer
使用一个或多个类注册注册 ExeServer。
<com4:ExeServer>
XML
<com4:ExeServer
Executable = 'A string with a value between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *.'
Arguments = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
DisplayName = 'A string with a value between 1 and 256 characters in length. This string is localizable.'
LaunchAndActivationPermission = 'A [SDDL string](/windows/win32/secauthz/security-descriptor-string-format) value.' />
<!-- Child elements -->
Class {0, 1000}
ClassReference {0, 1000}
</com4:ExeServer>
{}
特定出现次数范围
属性 | 说明 | 数据类型 | 必须 | 默认值 |
---|---|---|---|---|
可执行文件 | 相对于包根的路径,必须引用包中的文件。 这会指定扩展的默认可执行文件。 如果未指定,则使用为应用定义的可执行文件。 如果指定,则还会使用 EntryPoint 属性。 如果未指定该 EntryPoint 属性,则使用为应用定义的 EntryPoint。 | 值长度介于 1 到 256 个字符之间的字符串,必须以 .exe 结尾,并且不能包含以下字符:< 、> 、: 、" 、| ? 、 或 * 。 |
是 | |
参数 | LocalServer32 键的参数。 | 一个字符串,其值长度介于 1 到 32767 个字符之间,开头和结尾处为非空格字符。 | 是 | |
DisplayName | DisplayName 是对应于默认 AppID 键值的可本地化字符串。 | 一个字符串,其值长度介于 1 到 256 个字符之间。 | 是 | |
LaunchAndActivationPermission | 与 AppID 键的 LaunchPermission 值相对应的 SDDL 字符串 。 | SDDL 字符串值。 | 是 |
子元素 | 说明 |
---|---|
类 | 定义 ExeServer 类注册。 |
ClassReference | 指定与注册的 ExeServer 关联的类,并设置特定于 ExeServer 的注册详细信息。 |
父元素 | 说明 |
---|---|
扩展 | 定义应用的一个或多个扩展点。 |
项 | 值 |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/com/windows10/4 |
Minimum OS Version | Windows 10 (内部版本 20348) |