Enables the management of scheduled actions.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Thetype exposes the following members.
|Add||Registers a scheduled action with the operating system.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (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||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|LaunchForTest||Causes the background agent associated with a ScheduledTask to be run in the background after the specified delay.|
|LaunchVoipHttpIncomingCallTask||This method does nothing.|
|MemberwiseClone||Creates a shallow copy of the current Object. (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||Returns a string that represents the current object. (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.