rescap2:Extension (Windows 10)

Declares an extensibility point for the app.

Element hierarchy

<Package>
<Applications>
<Application>
<Extensions>
<rescap2:Extension>

Syntax

<rescap2:Extension Category       = "windows.userDataAccountProvider"
                   Executable?    = A string between 1 and 256 characters in 
                                    length that must end with ".exe" and cannot 
                                    contain these characters: <, >, :, ", |, ?, 
                                    or *. It specifies the default executable 
                                    for the extension. If not specified, the 
                                    executable defined for the app is used. If 
                                    specified, the EntryPoint property is also 
                                    used. If that EntryPoint property isn&#39;t 
                                    specified, the EntryPoint defined for the 
                                    app is used.
                   EntryPoint?    = A string between 1 and 256 characters in 
                                    length, representing the task handling the 
                                    extension. This is normally the fully 
                                    namespace-qualified name of a
                                    Windows Runtime type.
                                    If EntryPoint is not specified, the 
                                    EntryPoint defined for the app is used 
                                    instead.
                   RuntimeType?   = A string between 1 and 255 characters in 
                                    length that cannot start or end with a 
                                    period or contain these characters: <, >, 
                                    :, ", /, \, |, ?, or *.
                   StartPage?     = A string between 1 and 256 characters in 
                                    length that cannot contain these characters: 
                                    <, >, :, ", |, ?, or *.
                   ResourceGroup? = An alphanumeric string between 1 and 255 
                                    characters in length. Must begin with an 
                                    alphabetic character. >
</rescap2:Extension>

Key

      ? optional (zero or one)

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
Category The type of app extensibility point.

This attribute must have a value of windows.userDataAccountProvider.

Yes
EntryPoint The activatable class ID. A string between 1 and 256 characters in length, representing the task handling the extension. This is normally the fully namespace-qualified name of a Windows Runtime type. If EntryPoint is not specified, the EntryPoint defined for the app is used instead. No
Executable The default launch executable. A string between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *. It specifies the default executable for the extension. If not specified, the executable defined for the app is used. If specified, the EntryPoint property is also used. If that EntryPoint property isn't specified, the EntryPoint defined for the app is used. No
ResourceGroup A tag that you can use to group extension activations together for resource management purposes (for example, CPU and memory). The value you can set ResourceGroup is free-form and flexible. See Application@ResourceGroup. An alphanumeric string between 1 and 255 characters in length. Must begin with an alphabetic character. No
RuntimeType The runtime provider. This attribute is used typically when there are mixed frameworks in an app. A string between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, , |, ?, or *. No
StartPage The web page that handles the extensibility point. A string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *. No

Child Elements

None.

Parent Elements

Parent Element Description
Extensions (type: CT_ApplicationExtensions) Defines one or more extensibility points for the app.

Examples

<Package ...
         xmlns:rescap2="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/2"  
         IgnorableNamespaces="... rescap2">
    <Applications>
        <Application>
            <Extensions>
                <rescap2:Extension Category="windows.userDataAccountsProvider" />   
            </Extensions>
        </Application>
    </Applications>
</Package>

Requirements

Namespace http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/2