以下は、WP8 プッシュ通知のコードです。
HttpNotificationChannel pushChannel = new HttpNotificationChannel(channelName);
// Register for all the events before attempting to open the channel.
pushChannel.ChannelUriUpdated += new EventHandler<NotificationChannelUriEventArgs>(PushChannel_ChannelUriUpdated);
pushChannel.ErrorOccurred += new EventHandler<NotificationChannelErrorEventArgs>(PushChannel_ErrorOccurred);
// Register for this notification only if you need to receive the notifications while your application is running.
pushChannel.ShellToastNotificationReceived += new EventHandler<NotificationEventArgs>(PushChannel_ShellToastNotificationReceived);
pushChannel.Open();
// Bind this new channel for toast events.
pushChannel.BindToShellToast();
pushChannel.BindToShellTile();
上記のコードでわかるように、 pushChannel をshellToast とshellTile にバインドしています。私はそれが有効かどうか知りたいですか?これに関するmsdnのドキュメントがないためです。それが可能で、サーバーが通知を送信した場合、それは正しく表示されますか? これについて貴重なご意見をお寄せください。