Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

uap:AppService

Declares an app extensibility point of type windows.appService. Application Contracts are a way for an app to invoke a background task belonging to another app; or for a background task invoked to service an app contract a way to communicate with its caller.

Element hierarchy

<Package>
   └─ <Applications>
      └─ <Application>
         └─ <Extensions>
            └─ <uap:Extension>
               └─ <uap:AppService>

Syntax

<uap:AppService
 Name = 'A required string with a value between 2 and 39 characters in length that consists of alphanumeric characters, periods (except for the first character), and dashes only.'
 ServerName = 'An optional alphanumeric string between 1 and 255 characters in length. Must begin with an alphabetic character.'
 uap4:SupportsMultipleInstances = 'An optional boolean value.' />

Attributes

Attribute Description Data type Required Default value
Name The service name (used to match the caller of the Application Contract with the provider). A string with a value between 2 and 39 characters in length that consists of alphanumeric characters, periods (except for the first character), and dashes only. Yes
ServerName The COM server to be instantiated to satisfy the contract activation (ensures that only one instance of the server exists at runtime). This is an optional attribute that is only used for PPLE host processes. An optional alphanumeric string between 1 and 255 characters in length. Must begin with an alphabetic character. No
uap4:SupportsMultipleInstances Supports multiple, separate instances of an app service. An optional boolean value. No

Child elements

None.

Parent elements

Parent element Description
uap:Extension Declares an extensibility point for the app.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10
uap4 http://schemas.microsoft.com/appx/manifest/uap/windows10/4
Minimum OS Version Windows 10 version 1511 (Build 10586)

Remarks

Examples


Feedback

Was this page helpful?

Additional resources