ProxyStub (package schema for Windows 8)
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
<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
Value | |
---|---|
Namespace | http://schemas.microsoft.com/appx/2010/manifest |