AppInfo.ExecutionContext Property
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.
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)
|