windows-8 - Windows Notification Server 上的附加参数

标签 windows-8 windows-runtime microsoft-metro windows-store-apps toast

我尝试发送推送通知,我在服务器端。 在 WNS 中,Windows 8 的推送服务有没有办法发送额外的参数,这些参数不会显示。 在 Windows Phone 7 上,我使用 wp:Param 如下:

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

举个例子,toast有没有等价物?

最佳答案

对于 toast 通知,使用 toast notification XML 中的 launch 属性:

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

launch 属性中指定的值可以从传递到 OnLaunched 处理程序的 Arguments 属性中检索(更多细节参见 MSDN ).

关于windows-8 - Windows Notification Server 上的附加参数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16912077/

相关文章:

windows-runtime - 获取我自己的 Windows 应用程序的完整版本

c# - IBackgroundTask 类中的任务类型

c# - Windows 8 - 如何关闭触摸键盘?

javascript - 如何以 Metro 风格进行简单的 html 5 验证?

javascript - 隐藏/保护 Windows 8 应用程序中的 Javascript 源代码

windows - 为什么我的应用程序的窗口边框在 Windows 8 中是灰色的,而不是像其他窗口一样基于桌面?

java - 如何在没有 IDE 的情况下添加 JAR 库?

windows-8 - 如何在 Windows 8 网页 View 中禁用缩放

JavaScript 错误 : "The resource was realized on the wrong render target"

windows-8 - 找不到源文件 'obj\ARM\Release\TemporaryGeneratedFile_<GUID>cs'