Share via


com4:ProxyStub

註冊 Proxy 存根

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <com4:ProxyStub>

Syntax

<com4:ProxyStub
  Path = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
  ProcessorArchitecture = 'A string that can have one of the following values: "x86", "x64", "arm", "arm64", or "x86a64".'
  Id = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
  DisplayName = 'A string with a value between 1 and 256 characters in length. This string is localizable.' >

  <!-- Child elements -->
  ProxyStubDll

</com4:ProxyStub>

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
路徑 相對於封裝根目錄的路徑。 路徑必須參考封裝中的檔案。 下列其中一個值:長度介於 1 到 256 個字元之間的字串,不能包含下列字元: < 、、 > :、、「、,, ?, 或 *。 Yes
Id Proxy 存根的 CLSID。 格式為 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx 的 GUID。 Yes
DisplayName 對應至 Proxy 存根 CLSID 索引鍵預設值的可當地語系化字串。 長度介於 1 到 256 個字元之間的字串。 這個字串可當地語系化。 Yes

子元素

子項目 描述
ProxyStubDll 指定 ProxyStub DLL 的路徑和處理器架構。

父元素

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

備註

Proxy 存根項目必須具有 Path 屬性或一或多個 ProxyStubDll 子項目,但不能同時擁有這兩者。

規格需求

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