public void photoDeleteExecute(Object parameter) { Photo = ""; try { ServiceProxy.ServiceTestClient client = new ServiceProxy.ServiceTestClient("WSHttpBinding_IServiceTest"); client.PicDelete(this.Information.Photo); } catch (Exception) { System.Windows.MessageBox.Show("清除错误,请联系管理员!"); } }