HttpNotificationChannel类在Windows Phone 8.0中运行,但它没有在windows phone 8.1中运行。
Windows Phone 8.1还有其他选择吗?
答案 0 :(得分:0)
检查here
PushNotificationChannel channel = null;
try
{
channel = await PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync();
Debug.WriteLine("Channel :: " + channel.Uri.ToString());
}
catch (Exception ex)
{
// ...
}