TileUpdater.AddToSchedule(ScheduledTileNotification) Method

Definition

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