User user = dao.UserDao.GetUserByUsercode(usercode);
if (user == null)
throw new FaultException("不存在此用户");
if (user.Onlinestate == "在线")
throw new FaultException("用户已登录!");
if (user.Password != password)
throw new FaultException("密码错误!");当抛出这样的异常时,服务端就中断了怎么办
if (user == null)
throw new FaultException("不存在此用户");
if (user.Onlinestate == "在线")
throw new FaultException("用户已登录!");
if (user.Password != password)
throw new FaultException("密码错误!");当抛出这样的异常时,服务端就中断了怎么办
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货