Edit

uap5: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.

Element hierarchy

<Package>
   └─ <Applications>
      └─ <Application>
         └─ <Extensions>
            └─ <uap5:Extension>
               └─ <uap5:OutOfProcessServer>

Syntax

<uap5:OutOfProcessServer
  ServerName = 'A required alphanumeric string between 1 and 255 characters in length. Must begin with an alphabetic character.'
  RunFullTrust = 'An optional boolean value.' >

  <!-- Child elements -->
  uap5:Path
  uap5:Arguments?
  uap5:Instancing
  uap5:ActivatableClass{1,65535}

</uap5:OutOfProcessServer>

Key

? optional (zero or one) {} specific range of occurrences

Attributes

Attribute Description Data type Required Default value
ServerName A string value of the server name. An alphanumeric string between 1 and 255 characters in length. Must begin with an alphabetic character. Yes
RunFullTrust If true, the server will be launched with a Windows Desktop Bridge token, as opposed to a UWP token. Boolean. No

Child elements

Child element Description
uap5:Path The path to the executable.
uap5:Arguments Specifies the list of comma-separated arguments to pass to the executable.
uap5:Instancing Specifies whether the executable runs as a single instance or can run as multiple instances.
uap5:ActivatableClass Declares a runtime class associated with the extensibility point.

Parent elements

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

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/5
Minimum OS Version Windows 10 version 1709 (Build 16299)

Remarks

This element is similar to the OutOfProcessServer element in Package/Extensions. Activate As Package behavior is implied by using this element in the Application/Extensions level of the manifest, indicating that the server token doesn't vary based on the activating process's token. In this context, the application identity claim matches the identity of the application it's contained in.