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.