public void Execute(object parameter) { try { if (ExecuteInternal(parameter).Result) { Vm.OnCommandSucceeded(); } } catch (AggregateException ae) { Vm.OnError(ae.InnerException); } catch (Exception ex) { Vm.OnError(ex); } }