void Client_OnClientException(object sender, ClientExeptionEventArgs e)
 {
     Deployment.Current.Dispatcher.BeginInvoke(new Action(delegate
     {
         Exception ex = e.Exeption;
         MessageBox.Show(e.Message);
         ViewModel.IsUpdating = false;
     }));
 }
 private void RaiseClientExeption(ClientExeptionEventArgs args)
 {
     if (OnClientException != null && !_ExeptionThrown)
     {
         OnClientException(this, args);
         _ExeptionThrown = true;
     }
 }