This means that you will pass the test only if that particular type of exception is raised in the designated line.
这意味着只有在指定行中抛出特定类型的异常的时候,您才会通过测试。
Part type - Designated by classification symbol b.
部件类型—由分类符号B指定。
When you use an object initializer to create an instance of a named type, the default constructor for the class is called, followed by initialization of designated members in the order you specify.
当您使用物件初始设定式来建立具名型别的执行个体时,会呼叫类别的预设建构函式,接著按照您指定的顺序初始化指定的成员。
应用推荐