private static void OnToastPushReceived(object sender, ToastPushReceivedEventArgs args) { Debug.WriteLine("Received a toast push notification with the following args."); foreach (string key in args.ToastCollection.Keys) { string val; args.ToastCollection.TryGetValue(key, out val); Debug.WriteLine("Toast push notification arguement key = {0} with value = {1}.", key, val); } }
private static void OnToastPushReceived(object sender, ToastPushReceivedEventArgs args) { Debug.WriteLine("Received a toast push notification with the following args."); foreach (string key in args.ToastCollection.Keys) { string val; args.ToastCollection.TryGetValue(key, out val); Debug.WriteLine("Toast push notification arguement key = {0} with value = {1}.", key, val); } }