com5:ClassReference (in InProcessServer)
Description
Specifies the class or class reference with which the registered in-process server is associated and sets registration details.
Element Hierarchy
<com5:ClassReference>
<com5:ClassReference>
Syntax
<com5:ClassReference ThreadingModel = "Both" | "STA" | "MTA" | "MainSTA" | "Neutral"
Virtualization = "enabled" | "disabled"
Id = A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
></com5:ClassReference>
Attributes
Attribute | Description | Data type | Required |
---|---|---|---|
ThreadingModel | The type of threading model supported by the runtime class. | One of the following values: "Both" , "STA" , "MTA" , "MainSTA" , "Neutral" | Yes |
Virtualization | Specifies whether virtualization is used when loading the class. | One of the following values: "enabled" , "disabled" | Yes |
Id | The Id of the Class being referenced. | A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. | Yes |
Parent elements
Parent element | Description |
---|---|
com5:InProcessServer | Registers an in-process server with one or many class registrations. |
Requirements
Item | Value |
---|---|
com5 | http://schemas.microsoft.com/appx/manifest/com/windows10/5 |
Minimum OS Version | Windows 11 version 21H2 (Build 22000) |