1

我已经使用通知发布了应用程序,并且从今天(也许明天)开始它停止工作,我无法使用以下方法创建新链接(用于新应用程序):

pushChannel = New HttpNotificationChannel(channelName)

' Register for all the events before attempting to open the channel.
AddHandler pushChannel.ChannelUriUpdated, AddressOf PushChannel_ChannelUriUpdated
AddHandler pushChannel.ErrorOccurred, AddressOf PushChannel_ErrorOccurred

pushChannel.Open()

' Bind this new channel for Tile events.
If Not pushChannel.IsShellToastBound Then
    pushChannel.BindToShellToast()
End If
If Not pushChannel.IsShellTileBound Then
    pushChannel.BindToShellTile()
End If

服务器宕机了吗?我不使用任何证书。有必要吗?

它返回“超时”以发送通知或打开新频道!

4

1 回答 1

0

我不知道您是否有足够的使用量来解决这个问题,但是您每个订阅每天只能推送 500 条通知。如果你想解决这个问题,你需要设置一个经过身份验证的 Web 服务。有关更多信息,请参阅这些:

http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402558(v=vs.92 )。

http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff941099(v=vs.92).aspx

于 2012-10-08T07:48:43.810 回答