TileUpdater.RemoveFromSchedule | removeFromSchedule method
Removes an upcoming tile update from the schedule.
Syntax
tileUpdater.removeFromSchedule(scheduledTile);
Parameters
- scheduledTile
-
Type: ScheduledTileNotification
The notification to remove from the schedule.
Examples
The following example shows the use of the RemoveFromSchedule method.
var notifier = Notifications.TileUpdateManager.createTileUpdaterForApplication(); var scheduled = notifier.getScheduledTileNotifications(); for (var i = 0, len = scheduled.length; i < len; i++) { // The itemId value is the unique ScheduledTileNotification.Id assigned to the // notification when it was created. if (scheduled[i].id === itemId) { notifier.removeFromSchedule(scheduled[i]); } }
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
- TileUpdater
- App tiles and badges sample
- Scheduled notifications sample
- Guidelines and checklist for scheduled notifications
- Quickstart: Sending a tile update
- Tile and tile notification overview
- The tile template catalog
- Guidelines and checklist for tiles
- How to schedule a tile notification
- How to set up periodic notifications for tiles
- Tiles XML schema
Build date: 12/4/2012
