PhoneApplicationService Class
July 26, 2012
The PhoneApplicationService class provides access to various aspects of the application’s lifetime. This includes management of the application’s idle behavior and management of the application’s state when it becomes active or inactive.
Namespace:
Microsoft.Phone.Shell
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
The PhoneApplicationService type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | PhoneApplicationService | Instantiates a new instance of the PhoneApplicationService class. |
| Name | Description | |
|---|---|---|
![]() | ApplicationIdleDetectionMode | Gets or sets whether application idle detection is enabled. |
![]() ![]() | Current | Gets the PhoneApplicationService object associated with the current application. |
![]() | StartupMode | Gets the mode in which the application was started. |
![]() | State | Gets the dictionary used for passing an application’s state between invocations. |
![]() | UserIdleDetectionMode | Gets or sets whether user idle detection is enabled. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | StartService | This method is used by the underlying implementation of the PhoneApplicationService and should not be used by applications. |
![]() | StopService | This method is used by the underlying implementation of the PhoneApplicationService and should not be used by applications. |
![]() | ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | Activated | Occurs when the application is being made active after previously being put into a dormant state or tombstoned. |
![]() | Closing | Occurs when the application is exiting. |
![]() | Deactivated | Occurs when the application is being deactivated. |
![]() | Launching | Occurs when the application is being launched. |
