uap5:Extension

Declares an extensibility point for the app.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <uap5:Extension>

Syntax

<uap5:Extension
  Category = 'A string that can have one of the following values: "windows.userActivity", "windows.mediaSource", "windows.videoRendererEffect", "windows.activatableClass.outOfProcessServer", "windows.startupTask", or "windows.appExecutionAlias".'
  Executable = 'A string with an optional value between 1 and 256 characters in length, that must end with ".exe", and cannot contain the following characters: <, >, :, ", |, ?, or *. 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 the EntryPoint property is not specified, the EntryPoint defined for the app is used.'
  EntryPoint = 'A string with an optional value between 1 and 256 characters in length. Represents the task handling the extension (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 with an optional value between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, \, |, ?, or *.'
  StartPage = 'A string with an optional value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
  ResourceGroup = 'An alphanumeric string with an optional value between 1 and 255 characters in length. Must begin with a letter.'
  uap10:TrustLevel = 'An optional string value. If specified, it must be either "appContainer" or "mediumIL".'
  uap10:RuntimeBehavior  = 'An optional string value. If specified, it must be one of the following values:  "windowsApp", "packagedClassicApp", or "win32App".'
  uap10:HostId = 'An alphanumeric string with an optional value between 1 and 255 characters in length. Must begin with an letter.'
  uap10:Parameters = 'A string with an optional value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.' >

  <!-- Child elements -->
  uap5:UserActivity
  uap5:MediaSource
  uap5:VideoRendererEffect 
  uap5:ActivatableClass.OutOfProcessServer
  uap5:StartupTask
  uap5:AppExecutionAlias?

</uap5:Extension>

Key

? optional (zero or one)

Attributes and elements

Attributes

Attribute Description Data Type Required Default value
Category The type of package extensibility point. A string that can have one of the following values: windows.userActivity, windows.mediaSource, windows.videoRendererEffect, windows.activatableClass.outOfProcessServer, windows.startupTask, or windows.appExecutionAlias. Yes
EntryPoint The activatable class ID. A string with a value between 1 and 256 characters in length. Represents the task handling the extension (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 with a value between 1 and 256 characters in length, that must end with .exe, and cannot contain these characters: <, >, :, ", |, ?, or *. 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
RuntimeType The runtime provider. Typically used when there are mixted frameworks in an app. A string with a value between 1 and 255 characters in length that cannot start or end with a . or contain there characters: <, >, :, ", |, ?, or *. No
StartPage The web page that handles the extensibility point. A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *. No
ResourceGroup An optional tag used to group extension activations together for resource management purposes (for example, CPU and memory). See the Remarks section in Application@ResourceGroup. An alphanumeric string between 1 and 255 characters in length. Must begin with a letter. No
uap10:TrustLevel Specifies the trust level of the extension. An optional string value. If specified, it can be one of the following values: appContainer or mediumIL. No
uap10:RuntimeBehavior Specifies the runtime behavior of an extension. An optional string value. If specified, it can be one of the following values: windowsApp, packagedClassicApp, or win32App. No
uap10:HostId Specifies the app ID of the host app for the extension. An alphanumeric string with an optional value between 1 and 255 characters in length. Must begin with a letter. No
uap10:Parameters Contains command line parameters to pass to the extension. Only supported for desktop apps that have a package identity. A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. No

Child elements

Child element Description
UserActivity Allows an app to specify the web site associated with this application for cross platform UserActivity publishing.
MediaSource Specifies the media source and the app service that it exposes.
VideoRendererEffect Enables activation of video renderer effects in apps.
ActivatableClass.OutOfProcessServer Declares a package extension point of type windows.activatableClass.outOfProcessServer. This enables 3rd party WinRT classes defined in the app package to be called from a Win32 process.
StartupTask Specifies a startup task for your application.
AppExecutionAlias Specifies the application's execution alias to determine the entry point for an app to be activated.

Parent elements

Parent element Description
Extensions Defines one or more extensibility points for the package.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/5
uap10 http://schemas.microsoft.com/appx/manifest/uap/windows10/10