O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Launching the Marketplace App with the MarketplaceHubTask

The Marketplace hub task is used to launch the built-in Marketplace app.

The marketplace category can be specified using the ContentType property of the MarketplaceHubTask. Set the ContentType property to a value from the MarketplaceContentType enumeration to launch the hub to a particular type of content, as shown in the following excerpt:

MarketplaceHubTask task    = new MarketplaceHubTask            {                ContentType = MarketplaceContentType.Music            };task.Show();

ContentType allows you to specify one of two categories: Music or Applications.

Note

The only allowed value for the ContentType property is MarketplaceContentType.Applications ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required