Dela via


AppExecutionContext Enum

Definition

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.

Applies to