com4:ServiceServer

Registers a ServiceServer with one or many class registrations.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <com4:ServiceServer>

Syntax

<com4:ServiceServer
  ServiceName = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
  Arguments = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
  DisplayName = 'A string with a value between 1 and 256 characters in length. This string is localizable.'
  LaunchAndActivationPermission = 'An [SDDL string](/windows/win32/secauthz/security-descriptor-string-format) value.' >

  <!-- Child elements -->
  Class
  ClassReference

</com4:ServiceServer>

Attributes and elements

Attributes

Attribute Description Data type Required Default value
ServiceName The name of the Windows service that hosts the COM server. A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. Yes
Arguments The command-line parameters of the service. A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. Yes
DisplayName A localizable string corresponding to the default AppID key value. A string with a value between 1 and 256 characters in length. Yes
LaunchAndActivationPermission An SDDL string that corresponds to the LaunchPermission value of the AppID key. An SDDL string value. Yes

Child elements

Child element Description
Class Defines an ExeServer class registration.
ClassReference Specifies the class with which the registered ExeServer is associated and sets ExeServer-specific registration details.

Parent elements

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

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/com/windows10/4
Minimum OS Version Windows 10 (Build 20348)