title | description | ms.date | ms.topic | keywords |
---|---|---|---|---|
uap5:Host |
Represents a valid HTTP or HTTPS host name with a wildcard that the app wants to register as able to handle. |
10/10/2017 |
reference |
windows 10, uwp, schema, manifest, desktop, extension |
Represents a valid HTTP or HTTPS host name with a wildcard that the app wants to register as able to handle.
<uap5:Host>
<uap5:Host
Name = 'A wildcard ("*") and a period (".") character followed by an alphanumeric domain name string value.' />
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
Name | A wildcard with a domain name of the web site associated with the app. | A wildcard (* ) and a period (. ) character followed by an alphanumeric domain name string value. |
Yes |
None.
Parent element | Description |
---|---|
uap3:AppUriHandler | Declares an app extensibility point of type windows.appUriHandler. |
In this example, *.microsoft.com
can be handled as: learn.microsoft.com
, developer.microsoft.com
, foo.microsoft.com
, etc.
<Package ...
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5"
IgnorableNamespaces="... uap3">
<Applications>
<Application>
<Extensions>
<uap3:Extension
Category="windows.appUriHandler">
<uap3:AppUriHandler>
<uap5:Host
Name="*.microsoft.com" />
</uap3:AppUriHandler>
</uap3:ExtensionCategory>
</Extensions>
</Application>
</Applications>
</Package>
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/uap/windows10/5 |
Minimum OS Version | Windows 10 version 1709 (Build 16299) |