AppExecutionContext Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the context in which an app runs.
public enum class AppExecutionContext
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 720896)]
enum class AppExecutionContext
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 720896)]
public enum AppExecutionContext
var value = Windows.ApplicationModel.AppExecutionContext.unknown
Public Enum AppExecutionContext
- Inheritance
-
AppExecutionContext
- Attributes
Windows requirements
Device family |
Windows 10, version 2104 (introduced in 10.0.20348.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v12.0)
|
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | The app context is unknown. |
Host | 1 | The app runs in the host context. |
Guest | 2 | The app runs in the guest context. |