com:ProxyStub (パッケージ/拡張機能内)

プロキシ スタブを登録します。

要素の階層

<パッケージ>

    <拡張機能>

         <com:Extension>

              <com:ComInterface>

                   <com:Interface>

                        <com:ProxyStub>

構文

<ProxyStub
    Id = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
    DisplayName = 'An optional string with a value between 1 and 256 characters in length. This string is localizable.'
    Path = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.' >

    <!-- Child elements -->
    com2:ProxyStubDll?

</ProxyStub>

キー

? 省略可能 (0 または 1)

属性と要素

属性

属性 説明 データ型 必須 既定値
Id プロキシ スタブの CLSID。 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx という形式の GUID。 Yes
DisplayName プロキシ スタブの CLSID キーの既定値に対応するローカライズ可能な文字列。 1 ~ 256 文字の長さの値を持つ省略可能な文字列。 いいえ
パス パッケージ ルートに対する相対パス。 パスは、パッケージ内のファイルを参照する必要があります。 長さが 1 ~ 256 文字の文字列。、:>"|?または *を含<めることはできません。 Yes

子要素

子要素 説明
com2:ProxyStubDll ProxyStub DLL のパスとプロセッサ アーキテクチャを指定します。

親要素

親要素 説明
com:ComInterface windows.comInterface 型のパッケージ拡張ポイントを宣言します。 comInterface 拡張機能には、 InterfaceProxyStubTypeLib の 3 種類の登録が含まれる場合があります。

注釈

プロキシ スタブ登録は、インターフェイスの ProxyStubClsid32 キーの CLSID 登録に対応します。

プロキシ スタブ要素には、Path 属性または 1 つ以上の ProxyStubDll 子要素が必要ですが、両方を含む必要はありません。

必要条件

Item
名前空間 http://schemas.microsoft.com/appx/manifest/com/windows10
Minimum OS Version Windows 10 バージョン 1703 (ビルド 15063)