Windows.ApplicationModel
TOC
Collapse the table of content
Expand the table of content

Windows.ApplicationModel namespace

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

Members

The Windows.ApplicationModel namespace has these types of members:

Classes

ClassDescription
AppDisplayInfo Provides an application's name, description, and logo.
AppInfo Provides information about an application such as it name, logo, package information, ID.
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.
EnteredBackgroundEventArgs Gets the deferral object when an app has entered the background state.
FullTrustProcessLauncher Activate the full-trust Win32 component of an application from a Universal Windows app component in the same application package.
LeavingBackgroundEventArgs Gets the deferral object when the app is leaving the background state.
Package Provides information about a package.
PackageCatalog Provides access to appx packages on the device.
PackageId Provides package identification info, such as name, version, and publisher.
PackageInstallingEventArgs Provides information about the optional package that is being installed.
PackageStagingEventArgs Provides information about the optional package that is being staged.
PackageStatus Provides the status of the package.
PackageStatusChangedEventArgs Provides access to the package that has changed.
PackageUninstallingEventArgs Provides information about the optional package that is being uninstalled.
PackageUpdatingEventArgs Provides information about the package that is being updated.
StartupTask Represents a background task that runs automatically whenever the user logs on to their device.
SuspendingDeferral Manages a delayed app suspending operation.
SuspendingEventArgs Provides data for an app suspending event.
SuspendingOperation Provides info about an app suspending operation.

 

Enumerations

The Windows.ApplicationModel namespace has these enumerations.

EnumerationDescription
PackageSignatureKind Specifies the ways that an app package may be signed.
StartupTaskState Represents the state (enabled, disabled, or disabled by user) of a startup task.

 

Interfaces

The Windows.ApplicationModel namespace defines these interfaces.

InterfaceDescription
IEnteredBackgroundEventArgs Gets the deferral object when an app has entered the background state.
ILeavingBackgroundEventArgs Gets the deferral object when the app is leaving the background state.
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, apps are given low priority access to resources after they are suspended. To support this new priority, 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.

See also

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

 

 

Show:
© 2016 Microsoft