Delen via


AppInfo.ExecutionContext Property

Definition

An enum that represents the execution context for the specified app. Values may be one of Unknown, Host, or Guest. On Desktop devices, this will be Host.

public:
 property AppExecutionContext ExecutionContext { AppExecutionContext get(); };
AppExecutionContext ExecutionContext();
public AppExecutionContext ExecutionContext { get; }
var appExecutionContext = appInfo.executionContext;
Public ReadOnly Property ExecutionContext As AppExecutionContext

Property Value

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v12.0)

Applies to