Windows.ApplicationModel namespace

Applies to Windows and Windows Phone

Provides an app with access to core system functionality and run-time information about its app package, and handles PLM suspend operations.

Members

The Windows.ApplicationModel namespace has these types of members:

Classes

The Windows.ApplicationModel namespace has these classes.

ClassDescription
CameraApplicationManager Enables an app to launch a dialog that displays all of the lens apps installed on the device and allows the user to quickly switch between them.
DesignMode Enables you to detect whether your app is in design mode in a visual designer.
Package Provides information about a package.
PackageId Provides package identification info, such as name, version, and publisher.
SuspendingDeferral Manages a delayed app suspending operation.
SuspendingEventArgs Provides data for an app suspending event.
SuspendingOperation Provides info about an app suspending operation.

 

Interfaces

The Windows.ApplicationModel namespace defines these interfaces.

InterfaceDescription
ISuspendingDeferral Manages a delayed app suspending operation.
ISuspendingEventArgs Provides data for an app suspending event.
ISuspendingOperation Provides information about an app suspending operation.

 

Structures

The Windows.ApplicationModel namespace has these structures.

StructureDescription
PackageVersion Represents the package version info.

 

Remarks

To improve system responsiveness in Windows 8.1, apps are given low priority access to resources after they are suspended. To support this new prority, the suspend operation timeout is extended so that the app has the equivalent of the 5-second timeout for normal priority. You cannot extend or alter this timeout window.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel
Windows::ApplicationModel [C++]

Metadata

Windows.winmd

See also

Samples
App activated, resume, and suspend using the WRL sample

 

 

Show:
© 2014 Microsoft