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

Choosers and the Application Execution Model

Recall from Chapter 3 that when tombstoned, your app is terminated, and therefore all regular CLR event subscriptions are discarded. Choosers use a subscription model that relies on CLR events, and using a chooser can lead to your app being tombstoned. To contend with this, the chooser infrastructure has some interesting plumbing that allows it to survive tombstoning and to reinstate subscriptions to the ChooserBase.Completed event when an app is reactivated.

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