For the PUSH message service, it is generally done through the WebService Service, but sometimes it is only used to update the Tile image, which is a little too small, it can be said that it is too troublesome to display. Obviously there should be no such problem. It is very convenient to use ShellTileSchedule. Just a few lines of code can be easily done.
ShellTileSchedule sechedule = new ShellTileSchedule ();
Sechedule. Recurrence = UpdateRecurrence. Onetime; // update only once
Sechedule. RemoteImageUri = new Uri (@ "http: \ www.contoso.com \ myimage.png ");
Sechedule. StartTime = DateTime. Now;
Sechedule. StartTime. AddHours (1 );
Sechedule. Start ();
Or:
Sechedule. Interval = UpdateInterval. EveryDay; // the number of updates per day
Sechedule. Recurrence = UpdateRecurrence. Interval;
Sechedule. MaxUpdateCount = 8;
Sechedule. RemoteImageUri = new Uri (@ "http: \ www.contoso.com \ myimage.png ");
Sechedule. Start ();
However, currently only one time can see the effect, and Interval does not know how to implement it.