uap3:Host

Represents a valid HTTP or HTTPS host name that the app wants to register as able to handle.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <uap3:Extension>

                        <uap3:AppUriHandler>

                             <uap3:Host>

Syntax

<uap3:Host
    Name = 'A string with a value between 1 and 255 characters in length.' />

Key

{} specific range of occurrences

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Name The fully-qualified domain name of the web site associated with the app. A string with a value between 1 and 255 characters in length. Yes

Child elements

None.

Parent elements

Parent element Description
uap3:AppUriHandler Declares an app extensibility point of type windows.appUriHandler.

Examples

<Package
    xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"  
    IgnorableNamespaces="... uap3">
    <Applications>
        <Application>
            <Extensions>
                <uap3:Extension
                    Category="windows.appUriHandler">  
                    <uap3:AppUriHandler>  
                        <uap3:Host
                            Name="www.app-uri-handler.com" />  
                        <uap3:Host
                            Name="appUriHandler.com" />  
                    </uap3:AppUriHandler>  
                </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)