引发异常:BackgroundTask.winmd中的'System.Runtime.InteropServices.COMException'通知平台不可用

时间:2019-01-23 12:48:50

标签: c# push-notification windows-10-universal uwp-xaml

在尝试使用下面的以下代码更新徽章计数时,我遇到了此异常

BadgeUpdater badgeUpdater = BadgeUpdateManager.CreateBadgeUpdaterForApplication();

// And update the badge
badgeUpdater.Update(badge);

0 个答案:

没有答案