ACTIVATEOPTIONS class Null safety
Flags used to support design mode, debugging, and testing scenarios.
- AO_DESIGNMODE → const int
The app is being activated for design mode, so it can't create its normal
window. The creation of the app's window must be done by design tools that
load the necessary components by communicating with a designer-specified
service on the site chain established through the activation manager. Note
that this means that the splash screen seen during regular activations
won't be seen.
- AO_NOERRORUI → const int
Do not display an error dialog if the app fails to activate.
- AO_NONE → const int
No flags are set.
- AO_NOSPLASHSCREEN → const int
Do not display the app's splash screen when the app is activated. You must
enable debug mode on the app's package when you use this flag; otherwise,
the PLM will terminate the app after a few seconds.
- AO_PRELAUNCH → const int
The application is being activated in prelaunch mode. This value is
supported starting in Windows 10.