3

I try sending push notification, I'm on server-side. Is there a way in WNS, the push service for Windows 8, to send additional parameters, that will not be displayed. On Windows Phone 7, I use the wp:Param as Follow :

<?xml version="1.0" encoding="utf-8"?>
    <wp:Notification xmlns:wp="WPNotification">
        <wp:Toast>
        .....
            <wp:Param></wp:Param>
        </wp:Toast>
    </wp:Notification>

Is there an equivalent for toast for exemple ?

Farhan Ghumra
  • 15,180
  • 6
  • 50
  • 115
vincentp
  • 233
  • 4
  • 17

1 Answers1

4

For toast notifications, use the launch attribute in the toast notification XML:

<toast launch="additionalContextParameters">
    ...
</toast>

The value specified in the launch attribute can be retrieved from the Arguments attribute passed into the OnLaunched handler (more details on MSDN).

Nathan Kuchta
  • 13,482
  • 2
  • 26
  • 35