uap3:AppExtensionHost
Declares an app extensibility point of type windows.appExtensionHost. This element indicates which categories of extensions the app can host.
Element hierarchy
<uap3:AppExtensionHost>
Syntax
<uap3:AppExtensionHost>
<!-- Child elements -->
uap3:Name
</uap3:AppExtensionHost>
Attributes and elements
Attributes
None.
Child elements
Child element | Description |
---|---|
uap3:Name | Specifies a category of extensions that the app can host. |
Parent elements
Parent element | Description |
---|---|
uap3:Extension | Declares an extensibility point for the app. |
Remarks
For a packaged app to see/enumerate appextensions it must meet at least one of the following criteria:
- Run as MediumIL (or higher)
- Run in an AppContainer and declare a matching appextensionhost
- Run in an AppContainer and have the packageQuery capability
This check is called by AppExtensionCatalog.Open and AppExtensionCatalog::RequestRemovePackageAsync.
Examples
The following example indicates that the app can host the Office spell check and browser extensions.
<Package
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
IgnorableNamespaces="... uap3">
<Applications>
<Application>
<Extensions>
<uap3:Extension
Category="windows.appExtensionHost">
<uap3:AppExtensionHost>
<uap3:Name>com.microsoft.office.spellcheck.ext</uap3:Name>
<uap3:Name>com.microsoft.office.browser.ext</uap3:Name>
</uap3:AppExtensionHost>
</uap3:Extension>
</Extensions>
</Application>
</Applications>
</Package>
Requirements
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/uap/windows10/3 |
Minimum OS Version | Windows 10 version 1607 (Build 14393) |