OutOfProcessServer

Declares a package extension point of type windows.activatableClass.outOfProcessServer. The app uses an executable (EXE) that exposes one or more activatable classes.

Element hierarchy

<Package>
<Extensions>
<Extension>
<OutOfProcessServer>

Syntax

<OutOfProcessServer ServerName = A string between 1 and 255 characters in length. >

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

</OutOfProcessServer>

Key

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

Attributes and Elements

Attributes

AttributeDescriptionData typeRequiredDefault value
ServerName

The name of the executable.

A string between 1 and 255 characters in length.Yes

 

Child Elements

Child ElementDescription
ActivatableClass (type: CT_OutOfProcessActivatableClass)

Declares a runtime class associated with the extensibility point.

Arguments

Specifies the list of comma-separated arguments to pass to the executable.

Instancing

Specifies whether the executable runs as a single instance or can run as multiple instances.

Path (type: ST_Executable)

The path to the executable.

 

Parent Elements

Parent ElementDescription
Extension (in type: CT_PackageExtensions)

Declares an extensibility point for the package.

 

Examples


<Extension Category="windows.activatableClass.outOfProcessServer">
      <OutOfProcessServer ServerName="Microsoft.SDKSamples.ToastServer">
        <Path>Microsoft.Samples.ExeServerAuthoring.exe</Path>
        <Instancing>singleInstance</Instancing>
        <ActivatableClass ActivatableClassId="Microsoft.Samples.ExeServerAuthoring.Toaster" />
      </OutOfProcessServer>
</Extension>


Requirements

Namespace

http://schemas.microsoft.com/appx/2010/manifest

 

 

Show:
© 2014 Microsoft