ActivatableClass (app package schema for Windows 8; type: CT_InProcessActivatableClass)

Declares a runtime class associated with the extensibility point.

Element hierarchy

<Package>
<Extensions>
<Extension>
<InProcessServer>
<ActivatableClass>

Syntax

<ActivatableClass ActivatableClassId = A string between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, %, ", /, \, |, ?, or *.
                  ThreadingModel     = "both" | "STA" | "MTA" >

  <!-- Child elements -->
  ActivatableClassAttribute{0,1000}

</ActivatableClass>

Key

{}   specific range of occurrences

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
ActivatableClassId

The identifier of the runtime class in the operating system.

A string between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, %, ", /, \, |, ?, or *. Yes
ThreadingModel

The type of threading model supported by the runtime class.

This attribute can have one of the following values:

  • both
  • STA
  • MTA
Yes

 

Child Elements

Child Element Description
ActivatableClassAttribute

Defines an attribute of the class that is stored in the Windows Runtime property store.

 

Parent Elements

Parent Element Description
InProcessServer

Declares a package extensibility point of type windows.activatableClass.inProcessServer. The app uses a dynamic link library (DLL) that exposes one or more activatable classes.

 

The following elements have the same name as this one, but different content or attributes:

Requirements

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