Edit

ProxyStub

Declares a package extensibility point of type windows.activatableClass.proxyStub. A proxy can be composed of one or more interfaces.

Element hierarchy

<Package>
   └─ <Extensions>
      └─ <Extension>
         └─ <ProxyStub>

Syntax

<Package
  xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10">
  ...
  <ProxyStub
    ClassId = 'A required GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.' >

    <!-- Child elements -->
    Path
    Interface{1,65535}

  </ProxyStub>
</Package>

Key

{} specific range of occurrences

Attributes

Attribute Description Data type Required Default value
ClassId The unique ID of the proxy. A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. Yes

Child elements

Child element Description
Path The path to the DLL.
Interface Declares an interface associated with the proxy.

Parent elements

Parent element Description
Extension Declares an extensibility point for the package.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/foundation/windows10
Minimum OS Version

Remarks

Examples

The following example is taken from the package manifest of one of the SDK samples.

<Extension
  Category="windows.activatableClass.proxyStub">
  <ProxyStub
    ClassId="332fd2f1-1c69-4c91-949e-4bb67a85bdc5">
    <Path>Microsoft.Samples.DllServerAuthoring.Proxies.dll</Path>
    <Interface
      Name="IToaster" InterfaceId="6a112353-4f87-4460-a908-2944e92686f3" />
    <Interface
      Name="IToast" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
    <Interface
      Name="IAppliance" InterfaceId="332fd2f1-1c69-4c91-949e-4bb67a85bdc5" />
  </ProxyStub>
</Extension>