Here is a msdn sample. But it's a bit cryptic for my taste.
In simple steps, you should create 5 tiles (or less) and put them into notification queue. Enable queue and supply tileTagId.
Here is my code:
AllTiles - array with all the tiles. AppTileId
- secondary tile Id. You can change it to the primary tile by uncommenting the line with CreateTileUpdaterForApplication
code.
// Posting update
int tileTagId = 0;
foreach ( XmlDocument XmlTile in AllTiles )
{
TileNotification tileNotification = new TileNotification( XmlTile );
tileNotification.Tag = tileTagId.ToString();
TileUpdater secondaryTileUpdater = TileUpdateManager.CreateTileUpdaterForSecondaryTile( AppTileId );
//TileUpdater secondaryTileUpdater = TileUpdateManager.CreateTileUpdaterForApplication();
secondaryTileUpdater.EnableNotificationQueue( true );
secondaryTileUpdater.Update( tileNotification );
tileTagId++;
}