concept tile in category c#

This is an excerpt from Manning's book Windows Store App Development.
The Assets folder contains the application images. In it, you’ll find the app’s main and small logo as used in the tiles, the splash screen logo, and the logo to be used in the Windows Store.
The final thing we’ll cover in this chapter is notification toast. Tiles are great when you’re staring at the Start page, but when you’re in another app, or a different page in the same app, or even on the desktop, toast notifications are the best way to get the user’s attention.
WinRT supplies the SecondaryTile class, which may be used to create the tile. You can request the tile creation from code, but the user must confirm it through a dialog box.
Each tile has a unique ID within the application. The ID of the tile is a max 64-character string beginning with a letter or number and containing alphanumeric characters. It can also contain the period or underscore, but it can’t start with either of those two characters.
In addition to the ID, a tile can have parameters. The parameters are simply a string into which you can stuff name/value pairs to be retrieved when the tile is used to activate the app.
For the category pinning in this app, I created a service class to wrap most of the functionality for creating the tile and for generating IDs and parameters. The next listing shows the new CategoryPinningService class. Create this in the Services folder alongside the existing ImageService class.