In both these forms, the second input parameter, a text string, contains the name of the parameter without qualification.
在这两种形式中,第二个输入参数(文本字符串)包含不带限定的参数名。
The first parameter (a string) is the name of the action method and the second parameter (also a string) is the name of the controller.
第一个参数(字符串)是动作方法的名称,第二个参数(也是字符串)是控制器的名称。
The name of the parameter doesn't matter, because it is ignored during transformation, but it is better to select a name that properly identifies it as an exception being thrown.
在转换过程中,参数名是可以被忽略的,但最好还是定义一个合适的名称(以备异常抛出时正确提示)。
应用推荐