Collapse the table of content
Expand the table of content

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.

Public classAlarmA notification for which a custom sound can be specified.
Public classPeriodicTaskRepresents a scheduled task that runs regularly for a small amount of time.
Public classReminderA notification that can pass contextual information to the parent application.
Public classResourceIntensiveTaskRepresents a scheduled task that runs occasionally and is allowed to use substantial device resources.
Public classScheduledActionThe base class for all scheduled actions.
Public classScheduledActionServiceEnables the management of scheduled actions.
Public classScheduledNotificationRepresents a notification that is launched once or in a recurring pattern according to a time-based schedule.
Public classScheduledTaskRepresents a task that will be run periodically or when the phone is in a state that supports resource-intensive processing.
Public classScheduledTaskAgentOverride 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.
Public classSchedulerServiceExceptionRepresents the exception that is thrown when the ScheduledActionService has an internal error.

Public enumerationAgentExitReasonLists 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.
Public enumerationRecurrenceIntervalLists the recurrence options for the ScheduledNotification objects, Alarm and Reminder.

© 2017 Microsoft