Share via


com4:ExeServer

向一或多個類別註冊註冊 ExeServer。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <com4:ExeServer>

Syntax

<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 結尾且不能包含下列字元: < 、、 >:"|?* Yes
引數 LocalServer32機碼的引數。 長度介於 1 到 32767 個字元之間的字串,其開頭和結尾為非空白字元。 Yes
DisplayName DisplayName 是對應至預設 AppID 索引鍵值的可當地語系化字串。 長度介於 1 到 256 個字元之間的字串。 Yes
LaunchAndActivationPermission 對應至 AppID 索引鍵之 LaunchPermission 值的 SDDL 字串 SDDL 字串值。 Yes

子元素

子項目 Description
類別 定義 ExeServer 類別註冊。
ClassReference 指定與已註冊 ExeServer 相關聯的類別,並設定 ExeServer 特定的註冊詳細資料。

父元素

父元素 描述
延伸模組 定義應用程式的一或多個擴充點。

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/com/windows10/4
OS 最低版本 Windows 10 (組建 20348)