Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Using Push Notifications
Dec 06, 2010 at 5:25 PMTo Matt:
Here is an example of how you can fix your issues. You need to first move the Notification Handling functionality into its own class and instantiate it in App.xaml.cs.
Also, in your App.xaml.cs, add code to unsubscribe from Toast Notification in Application_Launching and Application_Activated.
Example:
if (httpChannel.IsShellToastBound) httpChannel.UnbindToShellToast();
Then, add code to subscribe to toast notfication in Application_Deactivated and Application_Closing.
Example:
if (httpChannel.IsShellToastBound) httpChannel.BindToShellToast();
This will take care of the XmlException issue
Paul Wu