Microsoft.Phone.Scheduler Namespace
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
This namespace provides access to the Scheduler features of Windows Phone. This includes alarms, reminders, and background agents.
Classes
Class | Description | |
---|---|---|
Alarm | A notification for which a custom sound can be specified. | |
PeriodicTask | Represents a scheduled task that runs regularly for a small amount of time. | |
Reminder | A notification that can pass contextual information to the parent application. | |
ResourceIntensiveTask | Represents a scheduled task that runs occasionally and is allowed to use substantial device resources. | |
ScheduledAction | The base class for all scheduled actions. | |
ScheduledActionService | Enables the management of scheduled actions. | |
ScheduledNotification | Represents a notification that is launched once or in a recurring pattern according to a time-based schedule. | |
ScheduledTask | Represents a task that will be run periodically or when the phone is in a state that supports resource-intensive processing. | |
ScheduledTaskAgent | Override this class to implement a Scheduled Task, also referred to as a background agent. This class contains one method, OnInvoke, which is called whenever the Scheduled Task is executed. For more information, see Background agents for Windows Phone 8. | |
SchedulerServiceException | Represents the exception that is thrown when the ScheduledActionService has an internal error. |
Enumerations
Enumeration | Description | |
---|---|---|
AgentExitReason | Lists the possible reasons for which a background agent exits. Use the LastExitReason property of the ScheduledTask class to determine why the task exited its most recent execution. | |
RecurrenceInterval | Lists the recurrence options for the ScheduledNotification objects, Alarm and Reminder. |