ProxyStub (Windows 10)
Declares a package extensibility point of type windows.activatableClass.proxyStub. A proxy can be composed of one or more interfaces.
Element hierarchy
<ProxyStub>
Syntax
<ProxyStub
ClassId = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.' >
<!-- Child elements -->
Path,
Interface{1,65535}
</ProxyStub>
Key
{}
specific range of occurrences
Attributes and elements
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 |
---|---|
Interface | Declares an interface associated with the proxy. |
Path (type: ST_FileName) | The path to the DLL. |
Parent elements
Parent element | Description |
---|---|
Extension (in type: CT_PackageExtensions) | Declares an extensibility point for the package. |
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>
Requirements
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/foundation/windows10 |