private string GetLocalMessage(ServiceException exception) { return exception.Message; //TODO }
protected void OnServiceException(ServiceException exception) { var message = GetLocalMessage(exception); var task = DispatcherHelper.RunAsync(async () => { await new MessageDialog("Error:\r\n" + message).ShowAsync(); }); }