阅读背景:

ASP。NET MVC获得Ajax中的异常消息

来源:互联网 

I have an action :

我有一个行动:

[HttpPost]
public ActionResult MyAction(MyModel model)
{
    ...
    if (model.MyCondition == true)
        throw new Exception("MyMessage);
    ....
}
[HttpPost]
publ



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: