ScheduledActionService Class
July 26, 2012
Enables the management of scheduled actions.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
The ScheduledActionService type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | Add | Registers a scheduled action with the operating system. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() ![]() | Find | Attempts to return the ScheduledAction with the specified name. |
![]() ![]() | GetActions<T> | Returns all ScheduledAction objects of the specified type that are registered with the system. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() ![]() | LaunchForTest | Causes the background agent associated with a ScheduledTask to be run in the background after the specified delay. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() ![]() | Remove | Removes the ScheduledAction with the specified name from the Scheduled Action Service. |
![]() ![]() | Replace | Replaces an existing ScheduledAction with the one provided. The Name property uniquely identifies ScheduledAction objects and is used to determine which existing object, if any, is replaced. |
![]() | ToString | (Inherited from Object.) |
ScheduledAction is a base class for Alarm and Reminder, which enable scheduled notifications to the end user, as well as PeriodicTask and ResourceIntensiveTask, which enable background agents that do processing even when the main application is not in the foreground. Use these child classes to create and configure scheduled actions, then use the Add(ScheduledAction) method to register the actions with the system. Use GetActions<T>() and Find(String) to retrieve actions that have been previously registered. Replace(ScheduledAction) is used to update an existing action, and Remove(String) removes a scheduled action from the system.
