private void ButtonTestNow_Click(object sender, RoutedEventArgs e) { try { var pushService = new PushServiceClient(); pushService.UpdateTileCompleted += (s1, e1) => { try { pushService.CloseAsync(); } catch (Exception ex) { ex.Show(); } }; pushService.UpdateTileAsync(PushContext.Current.NotificationChannel.ChannelUri, SelectedServerImage); } catch (Exception ex) { ex.Show(); } }