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

Receiving a Raw Notification

To receive a raw notification in an app, subscribe to the HttpNotificationChannel.HttpNotificationReceived event, as shown:

channel.HttpNotificationReceived += channel_HttpNotificationReceived;...void channel_HttpNotificationReceived(object sender,                                             HttpNotificationEventArgs e){...}

When the HttpNotificationReceived event is raised, the handler receives an HttpNotificationEventArgs object that contains a Notification property of type HttpNotification. HttpNotification contains the following properties:

Image Body—The payload for the notification. This ...

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