3
votes

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 ?

1

1 Answers

4
votes

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).