Below is the code for WP8 push notification.
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();
As you can see in the above code, I associate pushChannel with shellToast, as well as shellTile . I want to know if this is really or not? since I don't have a msdn document regarding this. If possible, and the server will send any notifications, will it be displayed correctly? Please provide valuable information about this.
source share