TileUpdater.AddToSchedule(ScheduledTileNotification) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a ScheduledTileNotification to the schedule.
public:
virtual void AddToSchedule(ScheduledTileNotification ^ scheduledTile) = AddToSchedule;
void AddToSchedule(ScheduledTileNotification const& scheduledTile);
public void AddToSchedule(ScheduledTileNotification scheduledTile);
function addToSchedule(scheduledTile)
Public Sub AddToSchedule (scheduledTile As ScheduledTileNotification)
Parameters
- scheduledTile
- ScheduledTileNotification
The scheduled tile update object.
Remarks
If your call to this method returns a failure code, examine these possible causes:
- Possible cause: You've exceeded the maximum allowed number of scheduled notifications.
Fix: TileUpdater.addToSchedule will fail if you attempt to schedule more than 4096 notifications. Reduce your number of scheduled notifications.
- Possible cause: Your notification is scheduled for a time in the past relative to the current system clock time.
Fix: Make sure that the scheduled notification time is in the future. Examine the system clock time.
Applies to
See also
- 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