Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The AppPolicyClrCompat enumeration indicates the application type of a process so that you can determine whether to enable private reflection and/or make managed objects agile.
Syntax
typedef enum AppPolicyClrCompat {
AppPolicyClrCompat_Other,
AppPolicyClrCompat_ClassicDesktop,
AppPolicyClrCompat_Universal,
AppPolicyClrCompat_PackagedDesktop
} ;
Constants
AppPolicyClrCompat_OtherIndicates an application type other than the ones indicated by the other enumerated constants. The Common Language Runtime (CLR) should not be called by applications that are not Universal Windows Platform (UWP), Win32, nor Desktop Bridge. |
AppPolicyClrCompat_ClassicDesktopIndicates a desktop/Win32 application, or an NT service. You can support private reflection on framework types. |
AppPolicyClrCompat_UniversalIndicates a Universal Windows Platform (UWP) application. You should disable private reflection on framework types, but you can support IAgileObject. |
AppPolicyClrCompat_PackagedDesktopIndicates a Desktop Bridge application. You can support private reflection on framework types, and you can support IAgileObject. |
Requirements
| Requirement | Value |
|---|---|
| Header | appmodel.h |