共用方式為


Local notifications for Windows Phone 8

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

You can schedule "local" notifications to run at a specific time or interval by using the following classes or features:

Local Tile notifications

Tiles can be updated locally using the ShellTileSchedule class. You can send an immediate notification, or control how often the notification occurs on a recurring schedule. For more info about how to schedule a Tile update, see How to send a scheduled local Tile update for Windows Phone 8. For more info about Tiles in general, see Tiles for Windows Phone 8.

Local toast notifications

Toasts can be created by using the ShellToast class from a background agent. For more info about background agents, see Background agents for Windows Phone 8.

Alarms and reminders

Alarms and reminders can only be created locally—they cannot be created or updated using push notifications. Unlike Tiles and toasts, alarms and reminders are set to occur at a specific time. For more info about how to create an alarm or reminder, see How to create alarms and reminders for Windows Phone 8. For more info about alarms and reminders in general, see Alarms and Reminders for Windows Phone 8.

See Also

Other Resources

Push notifications for Windows Phone 8

Tiles and notifications for Windows Phone 8