locked
documentaion for ServerType registry value

    Question

  • Generally the "standard" activatable classes are stored under HKLM\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId registry key. For example the class for the standard XAML button is registered under HKLM\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Windows.UI.Xaml.Controls.Button key. Usually you want to consume this class in in-proc fashion so it is registered via DllPath value. However WinRT allows you to register an activatable class via Server value. In this case the actual registration is placed under HKLM\SOFTWARE\Microsoft\WindowsRuntime\Server registry key. For example if you have built your own activatable class SomeClass and you want to consume it in out-of-proc fashion you can register in under HKLM\SOFTWARE\Microsoft\WindowsRuntime\Server\SomeClass registry key. In this scenario WinRT will look for ServerType (REG_DWORD) value which accepts value of 0, 1 or 2.

    Does anyone know what these values (0, 1, or 2) stand for?

    Another related question is about the proper usage of AppID, ExePath, CommandLine, ActivatableClasses, IdentityType, Identity, Instancing, ServiceName, Permissions, AppUserModelID values. Any documentation about them?

    Thursday, September 6, 2012 3:24 PM

Answers

All replies